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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 short zDelta, | 65 short zDelta, |
66 const CPDF_Point& point); | 66 const CPDF_Point& point); |
67 virtual FX_BOOL OnRButtonDown(CPDFSDK_PageView* pPageView, | 67 virtual FX_BOOL OnRButtonDown(CPDFSDK_PageView* pPageView, |
68 CPDFSDK_Annot* pAnnot, | 68 CPDFSDK_Annot* pAnnot, |
69 FX_UINT nFlags, | 69 FX_UINT nFlags, |
70 const CPDF_Point& point); | 70 const CPDF_Point& point); |
71 virtual FX_BOOL OnRButtonUp(CPDFSDK_PageView* pPageView, | 71 virtual FX_BOOL OnRButtonUp(CPDFSDK_PageView* pPageView, |
72 CPDFSDK_Annot* pAnnot, | 72 CPDFSDK_Annot* pAnnot, |
73 FX_UINT nFlags, | 73 FX_UINT nFlags, |
74 const CPDF_Point& point); | 74 const CPDF_Point& point); |
75 virtual FX_BOOL OnRButtonDblClk(CPDFSDK_PageView* pPageView, | |
76 CPDFSDK_Annot* pAnnot, | |
77 FX_UINT nFlags, | |
78 const CPDF_Point& point); | |
79 | 75 |
80 virtual FX_BOOL OnKeyDown(CPDFSDK_Annot* pAnnot, | 76 virtual FX_BOOL OnKeyDown(CPDFSDK_Annot* pAnnot, |
81 FX_UINT nKeyCode, | 77 FX_UINT nKeyCode, |
82 FX_UINT nFlags); | 78 FX_UINT nFlags); |
83 virtual FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags); | 79 virtual FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags); |
84 | 80 |
85 virtual void OnDeSelected(CPDFSDK_Annot* pAnnot); | |
86 virtual void OnSelected(CPDFSDK_Annot* pAnnot); | |
87 | |
88 virtual FX_BOOL OnSetFocus(CPDFSDK_Annot* pAnnot, FX_UINT nFlag); | 81 virtual FX_BOOL OnSetFocus(CPDFSDK_Annot* pAnnot, FX_UINT nFlag); |
89 virtual FX_BOOL OnKillFocus(CPDFSDK_Annot* pAnnot, FX_UINT nFlag); | 82 virtual FX_BOOL OnKillFocus(CPDFSDK_Annot* pAnnot, FX_UINT nFlag); |
90 | 83 |
91 virtual FX_BOOL CanCopy(CPDFSDK_Document* pDocument); | 84 virtual FX_BOOL CanCopy(CPDFSDK_Document* pDocument); |
92 virtual FX_BOOL CanCut(CPDFSDK_Document* pDocument); | 85 virtual FX_BOOL CanCut(CPDFSDK_Document* pDocument); |
93 virtual FX_BOOL CanPaste(CPDFSDK_Document* pDocument); | 86 virtual FX_BOOL CanPaste(CPDFSDK_Document* pDocument); |
94 | 87 |
95 virtual void DoCopy(CPDFSDK_Document* pDocument); | 88 virtual void DoCopy(CPDFSDK_Document* pDocument); |
96 virtual void DoCut(CPDFSDK_Document* pDocument); | 89 virtual void DoCut(CPDFSDK_Document* pDocument); |
97 virtual void DoPaste(CPDFSDK_Document* pDocument); | 90 virtual void DoPaste(CPDFSDK_Document* pDocument); |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 CFX_RenderDevice* pDevice, | 197 CFX_RenderDevice* pDevice, |
205 CPDF_Matrix* pUser2Device, | 198 CPDF_Matrix* pUser2Device, |
206 FX_DWORD dwFlags); | 199 FX_DWORD dwFlags); |
207 | 200 |
208 protected: | 201 protected: |
209 FX_BOOL m_bMouseIn; | 202 FX_BOOL m_bMouseIn; |
210 FX_BOOL m_bMouseDown; | 203 FX_BOOL m_bMouseDown; |
211 }; | 204 }; |
212 | 205 |
213 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ | 206 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ |
OLD | NEW |