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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 CPDF_Point WndtoPWL(CPDFSDK_PageView* pPageView, const CPDF_Point& pt); | 113 CPDF_Point WndtoPWL(CPDFSDK_PageView* pPageView, const CPDF_Point& pt); |
114 CPDF_Rect FFLtoWnd(CPDFSDK_PageView* pPageView, const CPDF_Rect& rect); | 114 CPDF_Rect FFLtoWnd(CPDFSDK_PageView* pPageView, const CPDF_Rect& rect); |
115 | 115 |
116 void SetWindowRect(CPDFSDK_PageView* pPageView, const CPDF_Rect& rcWindow); | 116 void SetWindowRect(CPDFSDK_PageView* pPageView, const CPDF_Rect& rcWindow); |
117 CPDF_Rect GetWindowRect(CPDFSDK_PageView* pPageView); | 117 CPDF_Rect GetWindowRect(CPDFSDK_PageView* pPageView); |
118 | 118 |
119 FX_BOOL CommitData(CPDFSDK_PageView* pPageView, FX_UINT nFlag); | 119 FX_BOOL CommitData(CPDFSDK_PageView* pPageView, FX_UINT nFlag); |
120 virtual FX_BOOL IsDataChanged(CPDFSDK_PageView* pPageView); | 120 virtual FX_BOOL IsDataChanged(CPDFSDK_PageView* pPageView); |
121 virtual void SaveData(CPDFSDK_PageView* pPageView); | 121 virtual void SaveData(CPDFSDK_PageView* pPageView); |
122 | 122 |
| 123 #ifdef PDF_ENABLE_XFA |
| 124 virtual FX_BOOL IsFieldFull(CPDFSDK_PageView* pPageView); |
| 125 |
| 126 #endif |
123 CPWL_Wnd* GetPDFWindow(CPDFSDK_PageView* pPageView, FX_BOOL bNew); | 127 CPWL_Wnd* GetPDFWindow(CPDFSDK_PageView* pPageView, FX_BOOL bNew); |
124 void DestroyPDFWindow(CPDFSDK_PageView* pPageView); | 128 void DestroyPDFWindow(CPDFSDK_PageView* pPageView); |
125 void EscapeFiller(CPDFSDK_PageView* pPageView, FX_BOOL bDestroyPDFWindow); | 129 void EscapeFiller(CPDFSDK_PageView* pPageView, FX_BOOL bDestroyPDFWindow); |
126 | 130 |
127 virtual PWL_CREATEPARAM GetCreateParam(); | 131 virtual PWL_CREATEPARAM GetCreateParam(); |
128 virtual CPWL_Wnd* NewPDFWindow(const PWL_CREATEPARAM& cp, | 132 virtual CPWL_Wnd* NewPDFWindow(const PWL_CREATEPARAM& cp, |
129 CPDFSDK_PageView* pPageView) = 0; | 133 CPDFSDK_PageView* pPageView) = 0; |
130 virtual CPDF_Rect GetFocusBox(CPDFSDK_PageView* pPageView); | 134 virtual CPDF_Rect GetFocusBox(CPDFSDK_PageView* pPageView); |
131 | 135 |
132 FX_BOOL IsValid() const; | 136 FX_BOOL IsValid() const; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 CFX_RenderDevice* pDevice, | 189 CFX_RenderDevice* pDevice, |
186 CPDF_Matrix* pUser2Device, | 190 CPDF_Matrix* pUser2Device, |
187 FX_DWORD dwFlags) override; | 191 FX_DWORD dwFlags) override; |
188 | 192 |
189 protected: | 193 protected: |
190 FX_BOOL m_bMouseIn; | 194 FX_BOOL m_bMouseIn; |
191 FX_BOOL m_bMouseDown; | 195 FX_BOOL m_bMouseDown; |
192 }; | 196 }; |
193 | 197 |
194 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ | 198 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ |
OLD | NEW |