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_IFORMFILLER_H_ | 7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ |
8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ | 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 | 11 |
12 #include "FormFiller.h" | 12 #include "fpdfsdk/include/fsdk_define.h" |
| 13 #include "fpdfsdk/include/pdfwindow/PWL_Edit.h" |
13 | 14 |
14 class CFFL_FormFiller; | 15 class CFFL_FormFiller; |
15 class CFFL_PrivateData; | 16 class CFFL_PrivateData; |
| 17 class CPDFDoc_Environment; |
| 18 class CPDFSDK_Annot; |
| 19 class CPDFSDK_PageView; |
| 20 class CPDFSDK_Widget; |
16 | 21 |
17 class CFFL_IFormFiller : public IPWL_Filler_Notify { | 22 class CFFL_IFormFiller : public IPWL_Filler_Notify { |
18 public: | 23 public: |
19 explicit CFFL_IFormFiller(CPDFDoc_Environment* pApp); | 24 explicit CFFL_IFormFiller(CPDFDoc_Environment* pApp); |
20 ~CFFL_IFormFiller() override; | 25 ~CFFL_IFormFiller() override; |
21 | 26 |
22 virtual FX_BOOL Annot_HitTest(CPDFSDK_PageView* pPageView, | 27 virtual FX_BOOL Annot_HitTest(CPDFSDK_PageView* pPageView, |
23 CPDFSDK_Annot* pAnnot, | 28 CPDFSDK_Annot* pAnnot, |
24 CPDF_Point point); | 29 CPDF_Point point); |
25 virtual FX_RECT GetViewBBox(CPDFSDK_PageView* pPageView, | 30 virtual FX_RECT GetViewBBox(CPDFSDK_PageView* pPageView, |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 | 146 |
142 class CFFL_PrivateData { | 147 class CFFL_PrivateData { |
143 public: | 148 public: |
144 CPDFSDK_Widget* pWidget; | 149 CPDFSDK_Widget* pWidget; |
145 CPDFSDK_PageView* pPageView; | 150 CPDFSDK_PageView* pPageView; |
146 int nWidgetAge; | 151 int nWidgetAge; |
147 int nValueAge; | 152 int nValueAge; |
148 }; | 153 }; |
149 | 154 |
150 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ | 155 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ |
OLD | NEW |