summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_annothandlermgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/cpdfsdk_annothandlermgr.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_annothandlermgr.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/fpdfsdk/cpdfsdk_annothandlermgr.cpp b/fpdfsdk/cpdfsdk_annothandlermgr.cpp
index 15ebfaacb4..0d1359512e 100644
--- a/fpdfsdk/cpdfsdk_annothandlermgr.cpp
+++ b/fpdfsdk/cpdfsdk_annothandlermgr.cpp
@@ -63,15 +63,6 @@ void CPDFSDK_AnnotHandlerMgr::ReleaseAnnot(CPDFSDK_Annot* pAnnot) {
pAnnotHandler->ReleaseAnnot(pAnnot);
}
-void CPDFSDK_AnnotHandlerMgr::Annot_OnCreate(CPDFSDK_Annot* pAnnot) {
- CPDF_Annot* pPDFAnnot = pAnnot->GetPDFAnnot();
-
- CPDFSDK_DateTime curTime;
- pPDFAnnot->GetAnnotDict()->SetNewFor<CPDF_String>(
- "M", curTime.ToPDFDateTimeString(), false);
- pPDFAnnot->GetAnnotDict()->SetNewFor<CPDF_Number>("F", 0);
-}
-
void CPDFSDK_AnnotHandlerMgr::Annot_OnLoad(CPDFSDK_Annot* pAnnot) {
ASSERT(pAnnot);
GetAnnotHandler(pAnnot)->OnLoad(pAnnot);
@@ -155,16 +146,6 @@ bool CPDFSDK_AnnotHandlerMgr::Annot_OnLButtonUp(
->OnLButtonUp(pPageView, pAnnot, nFlags, point);
}
-bool CPDFSDK_AnnotHandlerMgr::Annot_OnLButtonDblClk(
- CPDFSDK_PageView* pPageView,
- CPDFSDK_Annot::ObservedPtr* pAnnot,
- uint32_t nFlags,
- const CFX_PointF& point) {
- ASSERT(*pAnnot);
- return GetAnnotHandler(pAnnot->Get())
- ->OnLButtonDblClk(pPageView, pAnnot, nFlags, point);
-}
-
bool CPDFSDK_AnnotHandlerMgr::Annot_OnMouseMove(
CPDFSDK_PageView* pPageView,
CPDFSDK_Annot::ObservedPtr* pAnnot,
@@ -250,12 +231,6 @@ bool CPDFSDK_AnnotHandlerMgr::Annot_OnKeyDown(CPDFSDK_Annot* pAnnot,
return GetAnnotHandler(pAnnot)->OnKeyDown(pAnnot, nKeyCode, nFlag);
}
-bool CPDFSDK_AnnotHandlerMgr::Annot_OnKeyUp(CPDFSDK_Annot* pAnnot,
- int nKeyCode,
- int nFlag) {
- return false;
-}
-
bool CPDFSDK_AnnotHandlerMgr::Annot_OnSetFocus(
CPDFSDK_Annot::ObservedPtr* pAnnot,
uint32_t nFlag) {