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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 123 #ifdef PDF_ENABLE_XFA |
124 virtual FX_BOOL IsFieldFull(CPDFSDK_PageView* pPageView); | 124 virtual FX_BOOL IsFieldFull(CPDFSDK_PageView* pPageView); |
| 125 #endif // PDF_ENABLE_XFA |
125 | 126 |
126 #endif | |
127 CPWL_Wnd* GetPDFWindow(CPDFSDK_PageView* pPageView, FX_BOOL bNew); | 127 CPWL_Wnd* GetPDFWindow(CPDFSDK_PageView* pPageView, FX_BOOL bNew); |
128 void DestroyPDFWindow(CPDFSDK_PageView* pPageView); | 128 void DestroyPDFWindow(CPDFSDK_PageView* pPageView); |
129 void EscapeFiller(CPDFSDK_PageView* pPageView, FX_BOOL bDestroyPDFWindow); | 129 void EscapeFiller(CPDFSDK_PageView* pPageView, FX_BOOL bDestroyPDFWindow); |
130 | 130 |
131 virtual PWL_CREATEPARAM GetCreateParam(); | 131 virtual PWL_CREATEPARAM GetCreateParam(); |
132 virtual CPWL_Wnd* NewPDFWindow(const PWL_CREATEPARAM& cp, | 132 virtual CPWL_Wnd* NewPDFWindow(const PWL_CREATEPARAM& cp, |
133 CPDFSDK_PageView* pPageView) = 0; | 133 CPDFSDK_PageView* pPageView) = 0; |
134 virtual CPDF_Rect GetFocusBox(CPDFSDK_PageView* pPageView); | 134 virtual CPDF_Rect GetFocusBox(CPDFSDK_PageView* pPageView); |
135 | 135 |
136 FX_BOOL IsValid() const; | 136 FX_BOOL IsValid() const; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 CFX_RenderDevice* pDevice, | 189 CFX_RenderDevice* pDevice, |
190 CPDF_Matrix* pUser2Device, | 190 CPDF_Matrix* pUser2Device, |
191 FX_DWORD dwFlags) override; | 191 FX_DWORD dwFlags) override; |
192 | 192 |
193 protected: | 193 protected: |
194 FX_BOOL m_bMouseIn; | 194 FX_BOOL m_bMouseIn; |
195 FX_BOOL m_bMouseDown; | 195 FX_BOOL m_bMouseDown; |
196 }; | 196 }; |
197 | 197 |
198 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ | 198 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ |
OLD | NEW |