| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 | 148 |
| 149 // Message. | 149 // Message. |
| 150 FX_BOOL OnAAction(CPDF_AAction::AActionType type, | 150 FX_BOOL OnAAction(CPDF_AAction::AActionType type, |
| 151 PDFSDK_FieldAction& data, | 151 PDFSDK_FieldAction& data, |
| 152 CPDFSDK_PageView* pPageView); | 152 CPDFSDK_PageView* pPageView); |
| 153 | 153 |
| 154 CPDFSDK_InterForm* GetInterForm() const { return m_pInterForm; } | 154 CPDFSDK_InterForm* GetInterForm() const { return m_pInterForm; } |
| 155 CPDF_FormField* GetFormField() const; | 155 CPDF_FormField* GetFormField() const; |
| 156 CPDF_FormControl* GetFormControl() const; | 156 CPDF_FormControl* GetFormControl() const; |
| 157 static CPDF_FormControl* GetFormControl(CPDF_InterForm* pInterForm, | 157 static CPDF_FormControl* GetFormControl(CPDF_InterForm* pInterForm, |
| 158 CPDF_Dictionary* pAnnotDict); | 158 const CPDF_Dictionary* pAnnotDict); |
| 159 | 159 |
| 160 void DrawShadow(CFX_RenderDevice* pDevice, CPDFSDK_PageView* pPageView); | 160 void DrawShadow(CFX_RenderDevice* pDevice, CPDFSDK_PageView* pPageView); |
| 161 | 161 |
| 162 void SetAppModified(); | 162 void SetAppModified(); |
| 163 void ClearAppModified(); | 163 void ClearAppModified(); |
| 164 FX_BOOL IsAppModified() const; | 164 FX_BOOL IsAppModified() const; |
| 165 | 165 |
| 166 int32_t GetAppearanceAge() const; | 166 int32_t GetAppearanceAge() const; |
| 167 int32_t GetValueAge() const; | 167 int32_t GetValueAge() const; |
| 168 | 168 |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot); | 376 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot); |
| 377 | 377 |
| 378 CPDFSDK_PageView* m_pPageView; | 378 CPDFSDK_PageView* m_pPageView; |
| 379 CFX_ByteString m_sType; | 379 CFX_ByteString m_sType; |
| 380 CFX_ByteString m_sSubType; | 380 CFX_ByteString m_sSubType; |
| 381 int m_nTabs; | 381 int m_nTabs; |
| 382 CPDFSDK_Annots m_Annots; | 382 CPDFSDK_Annots m_Annots; |
| 383 }; | 383 }; |
| 384 | 384 |
| 385 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ | 385 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ |
| OLD | NEW |