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_FORMFILLER_CFFL_IFORMFILLER_H_ | 7 #ifndef FPDFSDK_FORMFILLER_CFFL_IFORMFILLER_H_ |
8 #define FPDFSDK_FORMFILLER_CFFL_IFORMFILLER_H_ | 8 #define FPDFSDK_FORMFILLER_CFFL_IFORMFILLER_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 14 matching lines...) Expand all Loading... |
25 ~CFFL_IFormFiller() override; | 25 ~CFFL_IFormFiller() override; |
26 | 26 |
27 virtual FX_BOOL Annot_HitTest(CPDFSDK_PageView* pPageView, | 27 virtual FX_BOOL Annot_HitTest(CPDFSDK_PageView* pPageView, |
28 CPDFSDK_Annot* pAnnot, | 28 CPDFSDK_Annot* pAnnot, |
29 CFX_FloatPoint point); | 29 CFX_FloatPoint point); |
30 virtual FX_RECT GetViewBBox(CPDFSDK_PageView* pPageView, | 30 virtual FX_RECT GetViewBBox(CPDFSDK_PageView* pPageView, |
31 CPDFSDK_Annot* pAnnot); | 31 CPDFSDK_Annot* pAnnot); |
32 virtual void OnDraw(CPDFSDK_PageView* pPageView, | 32 virtual void OnDraw(CPDFSDK_PageView* pPageView, |
33 CPDFSDK_Annot* pAnnot, | 33 CPDFSDK_Annot* pAnnot, |
34 CFX_RenderDevice* pDevice, | 34 CFX_RenderDevice* pDevice, |
35 CFX_Matrix* pUser2Device, | 35 CFX_Matrix* pUser2Device); |
36 uint32_t dwFlags); | |
37 | 36 |
38 virtual void OnCreate(CPDFSDK_Annot* pAnnot); | 37 virtual void OnCreate(CPDFSDK_Annot* pAnnot); |
39 virtual void OnLoad(CPDFSDK_Annot* pAnnot); | 38 virtual void OnLoad(CPDFSDK_Annot* pAnnot); |
40 virtual void OnDelete(CPDFSDK_Annot* pAnnot); | 39 virtual void OnDelete(CPDFSDK_Annot* pAnnot); |
41 | 40 |
42 virtual void OnMouseEnter(CPDFSDK_PageView* pPageView, | 41 virtual void OnMouseEnter(CPDFSDK_PageView* pPageView, |
43 CPDFSDK_Annot* pAnnot, | 42 CPDFSDK_Annot* pAnnot, |
44 FX_UINT nFlag); | 43 FX_UINT nFlag); |
45 virtual void OnMouseExit(CPDFSDK_PageView* pPageView, | 44 virtual void OnMouseExit(CPDFSDK_PageView* pPageView, |
46 CPDFSDK_Annot* pAnnot, | 45 CPDFSDK_Annot* pAnnot, |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 178 |
180 class CFFL_PrivateData { | 179 class CFFL_PrivateData { |
181 public: | 180 public: |
182 CPDFSDK_Widget* pWidget; | 181 CPDFSDK_Widget* pWidget; |
183 CPDFSDK_PageView* pPageView; | 182 CPDFSDK_PageView* pPageView; |
184 int nWidgetAge; | 183 int nWidgetAge; |
185 int nValueAge; | 184 int nValueAge; |
186 }; | 185 }; |
187 | 186 |
188 #endif // FPDFSDK_FORMFILLER_CFFL_IFORMFILLER_H_ | 187 #endif // FPDFSDK_FORMFILLER_CFFL_IFORMFILLER_H_ |
OLD | NEW |