OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ | 7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ |
8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ | 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ |
9 | 9 |
10 #include "FFL_IFormFiller.h" | 10 #include "FFL_IFormFiller.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 virtual void OnMouseEnter(CPDFSDK_PageView *p
PageView, CPDFSDK_Annot* pAnnot); | 50 virtual void OnMouseEnter(CPDFSDK_PageView *p
PageView, CPDFSDK_Annot* pAnnot); |
51 virtual void OnMouseExit(CPDFSDK_PageView *pP
ageView, CPDFSDK_Annot* pAnnot); | 51 virtual void OnMouseExit(CPDFSDK_PageView *pP
ageView, CPDFSDK_Annot* pAnnot); |
52 | 52 |
53 virtual FX_BOOL OnLButtonDown(CPDFSDK_PageView *
pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point); | 53 virtual FX_BOOL OnLButtonDown(CPDFSDK_PageView *
pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point); |
54 virtual FX_BOOL OnLButtonUp(CPDFSDK_PageView *pP
ageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point); | 54 virtual FX_BOOL OnLButtonUp(CPDFSDK_PageView *pP
ageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point); |
55 virtual FX_BOOL OnLButtonDblClk(CPDFSDK_PageView
*pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point); | 55 virtual FX_BOOL OnLButtonDblClk(CPDFSDK_PageView
*pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point); |
56 virtual FX_BOOL OnMouseMove(CPDFSDK_PageView *pP
ageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point); | 56 virtual FX_BOOL OnMouseMove(CPDFSDK_PageView *pP
ageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point); |
57 virtual FX_BOOL OnMouseWheel(CPDFSDK_PageView *p
PageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, short zDelta, const CPDF_Point&
point); | 57 virtual FX_BOOL OnMouseWheel(CPDFSDK_PageView *p
PageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, short zDelta, const CPDF_Point&
point); |
58 virtual FX_BOOL OnRButtonDown(CPDFSDK_PageView *
pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point); | 58 virtual FX_BOOL OnRButtonDown(CPDFSDK_PageView *
pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point); |
59 virtual FX_BOOL OnRButtonUp(CPDFSDK_PageView *pP
ageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point); | 59 virtual FX_BOOL OnRButtonUp(CPDFSDK_PageView *pP
ageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point); |
60 virtual FX_BOOL OnRButtonDblClk(CPDFSDK_PageView
*pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point); | |
61 | 60 |
62 virtual FX_BOOL OnKeyDown(CPDFSDK_Annot* pAnnot,
FX_UINT nKeyCode, FX_UINT nFlags); | 61 virtual FX_BOOL OnKeyDown(CPDFSDK_Annot* pAnnot,
FX_UINT nKeyCode, FX_UINT nFlags); |
63 virtual FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX
_UINT nChar, FX_UINT nFlags); | 62 virtual FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX
_UINT nChar, FX_UINT nFlags); |
64 | 63 |
65 virtual void OnDeSelected(CPDFSDK_Annot* pAnn
ot); | |
66 virtual void OnSelected(CPDFSDK_Annot* pAnnot
); | |
67 | |
68 virtual FX_BOOL OnSetFocus(CPDFSDK_Annot* pAnnot
, FX_UINT nFlag); | 64 virtual FX_BOOL OnSetFocus(CPDFSDK_Annot* pAnnot
, FX_UINT nFlag); |
69 virtual FX_BOOL OnKillFocus(CPDFSDK_Annot* pAnno
t, FX_UINT nFlag); | 65 virtual FX_BOOL OnKillFocus(CPDFSDK_Annot* pAnno
t, FX_UINT nFlag); |
70 | 66 |
71 virtual FX_BOOL CanCopy(CPDFSDK_Document* pDocum
ent); | 67 virtual FX_BOOL CanCopy(CPDFSDK_Document* pDocum
ent); |
72 virtual FX_BOOL CanCut(CPDFSDK_Document* pDocume
nt); | 68 virtual FX_BOOL CanCut(CPDFSDK_Document* pDocume
nt); |
73 virtual FX_BOOL CanPaste(CPDFSDK_Document* pDocu
ment); | 69 virtual FX_BOOL CanPaste(CPDFSDK_Document* pDocu
ment); |
74 | 70 |
75 virtual void DoCopy(CPDFSDK_Document* pDocume
nt); | 71 virtual void DoCopy(CPDFSDK_Document* pDocume
nt); |
76 virtual void DoCut(CPDFSDK_Document* pDocumen
t); | 72 virtual void DoCut(CPDFSDK_Document* pDocumen
t); |
77 virtual void DoPaste(CPDFSDK_Document* pDocum
ent); | 73 virtual void DoPaste(CPDFSDK_Document* pDocum
ent); |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 | 161 |
166 virtual void OnDrawDeactive(CPDFSDK_PageView
*pPageView, /*HDC hDC,*/ CPDFSDK_Annot* pAnnot, | 162 virtual void OnDrawDeactive(CPDFSDK_PageView
*pPageView, /*HDC hDC,*/ CPDFSDK_Annot* pAnnot, |
167 CFX_RenderDevice
* pDevice, CPDF_Matrix* pUser2Device, | 163 CFX_RenderDevice
* pDevice, CPDF_Matrix* pUser2Device, |
168 /*const CRect& r
cWindow, */FX_DWORD dwFlags); | 164 /*const CRect& r
cWindow, */FX_DWORD dwFlags); |
169 protected: | 165 protected: |
170 FX_BOOL m_bMouseIn; | 166 FX_BOOL m_bMouseIn; |
171 FX_BOOL m_bMouseDown; | 167 FX_BOOL m_bMouseDown; |
172 }; | 168 }; |
173 | 169 |
174 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ | 170 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ |
OLD | NEW |