| 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 | 203 |
| 204 public: | 204 public: |
| 205 FX_BOOL IsWidgetAppearanceValid(CPDF_Annot::AppearanceMode mode); | 205 FX_BOOL IsWidgetAppearanceValid(CPDF_Annot::AppearanceMode mode); |
| 206 void DrawAppearance(CFX_RenderDevice* pDevice, | 206 void DrawAppearance(CFX_RenderDevice* pDevice, |
| 207 const CFX_Matrix* pUser2Device, | 207 const CFX_Matrix* pUser2Device, |
| 208 CPDF_Annot::AppearanceMode mode, | 208 CPDF_Annot::AppearanceMode mode, |
| 209 const CPDF_RenderOptions* pOptions) override; | 209 const CPDF_RenderOptions* pOptions) override; |
| 210 | 210 |
| 211 FX_BOOL HitTest(FX_FLOAT pageX, FX_FLOAT pageY); | 211 FX_BOOL HitTest(FX_FLOAT pageX, FX_FLOAT pageY); |
| 212 | 212 |
| 213 #ifndef PDF_ENABLE_XFA | |
| 214 private: | 213 private: |
| 215 #endif // PDF_ENABLE_XFA | |
| 216 CPDFSDK_InterForm* m_pInterForm; | 214 CPDFSDK_InterForm* m_pInterForm; |
| 217 FX_BOOL m_bAppModified; | 215 FX_BOOL m_bAppModified; |
| 218 int32_t m_nAppAge; | 216 int32_t m_nAppAge; |
| 219 int32_t m_nValueAge; | 217 int32_t m_nValueAge; |
| 220 | 218 |
| 221 #ifdef PDF_ENABLE_XFA | 219 #ifdef PDF_ENABLE_XFA |
| 222 mutable IXFA_Widget* m_hMixXFAWidget; | 220 mutable IXFA_Widget* m_hMixXFAWidget; |
| 223 mutable IXFA_WidgetHandler* m_pWidgetHandler; | 221 mutable IXFA_WidgetHandler* m_pWidgetHandler; |
| 224 #endif // PDF_ENABLE_XFA | 222 #endif // PDF_ENABLE_XFA |
| 225 }; | 223 }; |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 const CPDFSDK_Annot* p2); | 393 const CPDFSDK_Annot* p2); |
| 396 | 394 |
| 397 TabOrder m_eTabOrder; | 395 TabOrder m_eTabOrder; |
| 398 CPDFSDK_PageView* m_pPageView; | 396 CPDFSDK_PageView* m_pPageView; |
| 399 CFX_ByteString m_sType; | 397 CFX_ByteString m_sType; |
| 400 CFX_ByteString m_sSubType; | 398 CFX_ByteString m_sSubType; |
| 401 std::vector<CPDFSDK_Annot*> m_Annots; | 399 std::vector<CPDFSDK_Annot*> m_Annots; |
| 402 }; | 400 }; |
| 403 | 401 |
| 404 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ | 402 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ |
| OLD | NEW |