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_FSDK_BASEFORM_H_ | 7 #ifndef FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ |
8 #define FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ | 8 #define FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ |
9 | 9 |
10 #if _FX_OS_ == _FX_ANDROID_ | 10 #if _FX_OS_ == _FX_ANDROID_ |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 116 |
117 // Message. | 117 // Message. |
118 FX_BOOL OnAAction(CPDF_AAction::AActionType type, | 118 FX_BOOL OnAAction(CPDF_AAction::AActionType type, |
119 PDFSDK_FieldAction& data, | 119 PDFSDK_FieldAction& data, |
120 CPDFSDK_PageView* pPageView); | 120 CPDFSDK_PageView* pPageView); |
121 | 121 |
122 CPDFSDK_InterForm* GetInterForm() const { return m_pInterForm; } | 122 CPDFSDK_InterForm* GetInterForm() const { return m_pInterForm; } |
123 CPDF_FormField* GetFormField() const; | 123 CPDF_FormField* GetFormField() const; |
124 CPDF_FormControl* GetFormControl() const; | 124 CPDF_FormControl* GetFormControl() const; |
125 static CPDF_FormControl* GetFormControl(CPDF_InterForm* pInterForm, | 125 static CPDF_FormControl* GetFormControl(CPDF_InterForm* pInterForm, |
126 CPDF_Dictionary* pAnnotDict); | 126 const CPDF_Dictionary* pAnnotDict); |
127 | 127 |
128 void DrawShadow(CFX_RenderDevice* pDevice, CPDFSDK_PageView* pPageView); | 128 void DrawShadow(CFX_RenderDevice* pDevice, CPDFSDK_PageView* pPageView); |
129 | 129 |
130 void SetAppModified(); | 130 void SetAppModified(); |
131 void ClearAppModified(); | 131 void ClearAppModified(); |
132 FX_BOOL IsAppModified() const; | 132 FX_BOOL IsAppModified() const; |
133 | 133 |
134 int32_t GetAppearanceAge() const; | 134 int32_t GetAppearanceAge() const; |
135 int32_t GetValueAge() const; | 135 int32_t GetValueAge() const; |
136 | 136 |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot); | 298 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot); |
299 | 299 |
300 CPDFSDK_PageView* m_pPageView; | 300 CPDFSDK_PageView* m_pPageView; |
301 CFX_ByteString m_sType; | 301 CFX_ByteString m_sType; |
302 CFX_ByteString m_sSubType; | 302 CFX_ByteString m_sSubType; |
303 int m_nTabs; | 303 int m_nTabs; |
304 CPDFSDK_Annots m_Annots; | 304 CPDFSDK_Annots m_Annots; |
305 }; | 305 }; |
306 | 306 |
307 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ | 307 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ |
OLD | NEW |