| 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_INTERACTIVEFORMFILLER_H_ |
| 8 #define FPDFSDK_FORMFILLER_CFFL_IFORMFILLER_H_ | 8 #define FPDFSDK_FORMFILLER_CFFL_INTERACTIVEFORMFILLER_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <memory> | 11 #include <memory> |
| 12 | 12 |
| 13 #include "fpdfsdk/include/fsdk_define.h" | 13 #include "fpdfsdk/include/fsdk_define.h" |
| 14 #include "fpdfsdk/pdfwindow/PWL_Edit.h" | 14 #include "fpdfsdk/pdfwindow/PWL_Edit.h" |
| 15 | 15 |
| 16 class CFFL_FormFiller; | 16 class CFFL_FormFiller; |
| 17 class CPDFSDK_Environment; | 17 class CPDFSDK_Environment; |
| 18 class CPDFSDK_Annot; | 18 class CPDFSDK_Annot; |
| 19 class CPDFSDK_PageView; | 19 class CPDFSDK_PageView; |
| 20 class CPDFSDK_Widget; | 20 class CPDFSDK_Widget; |
| 21 | 21 |
| 22 class CFFL_IFormFiller : public IPWL_Filler_Notify { | 22 class CFFL_InteractiveFormFiller : public IPWL_Filler_Notify { |
| 23 public: | 23 public: |
| 24 explicit CFFL_IFormFiller(CPDFSDK_Environment* pEnv); | 24 explicit CFFL_InteractiveFormFiller(CPDFSDK_Environment* pEnv); |
| 25 ~CFFL_IFormFiller() override; | 25 ~CFFL_InteractiveFormFiller() 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); |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 }; | 179 }; |
| 180 | 180 |
| 181 class CFFL_PrivateData { | 181 class CFFL_PrivateData { |
| 182 public: | 182 public: |
| 183 CPDFSDK_Widget* pWidget; | 183 CPDFSDK_Widget* pWidget; |
| 184 CPDFSDK_PageView* pPageView; | 184 CPDFSDK_PageView* pPageView; |
| 185 int nWidgetAge; | 185 int nWidgetAge; |
| 186 int nValueAge; | 186 int nValueAge; |
| 187 }; | 187 }; |
| 188 | 188 |
| 189 #endif // FPDFSDK_FORMFILLER_CFFL_IFORMFILLER_H_ | 189 #endif // FPDFSDK_FORMFILLER_CFFL_INTERACTIVEFORMFILLER_H_ |
| OLD | NEW |