summaryrefslogtreecommitdiff
path: root/fpdfsdk/ipdfsdk_annothandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/ipdfsdk_annothandler.h')
-rw-r--r--fpdfsdk/ipdfsdk_annothandler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fpdfsdk/ipdfsdk_annothandler.h b/fpdfsdk/ipdfsdk_annothandler.h
index 5340978308..3a35cdc8ff 100644
--- a/fpdfsdk/ipdfsdk_annothandler.h
+++ b/fpdfsdk/ipdfsdk_annothandler.h
@@ -37,7 +37,8 @@ class IPDFSDK_AnnotHandler {
virtual CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView,
CPDFSDK_Annot* pAnnot) = 0;
virtual CFX_WideString GetSelectedText(CPDFSDK_Annot* pAnnot) = 0;
- virtual void DeleteSelectedText(CPDFSDK_Annot* pAnnot) = 0;
+ virtual void ReplaceSelection(CPDFSDK_Annot* pAnnot,
+ const CFX_WideString& text) = 0;
virtual bool HitTest(CPDFSDK_PageView* pPageView,
CPDFSDK_Annot* pAnnot,
const CFX_PointF& point) = 0;