| 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 int BeforeFormReset(const CPDF_InterForm* pForm) override; | 317 int BeforeFormReset(const CPDF_InterForm* pForm) override; |
| 318 int AfterFormReset(const CPDF_InterForm* pForm) override; | 318 int AfterFormReset(const CPDF_InterForm* pForm) override; |
| 319 int BeforeFormImportData(const CPDF_InterForm* pForm) override; | 319 int BeforeFormImportData(const CPDF_InterForm* pForm) override; |
| 320 int AfterFormImportData(const CPDF_InterForm* pForm) override; | 320 int AfterFormImportData(const CPDF_InterForm* pForm) override; |
| 321 | 321 |
| 322 FX_BOOL FDFToURLEncodedData(CFX_WideString csFDFFile, | 322 FX_BOOL FDFToURLEncodedData(CFX_WideString csFDFFile, |
| 323 CFX_WideString csTxtFile); | 323 CFX_WideString csTxtFile); |
| 324 FX_BOOL FDFToURLEncodedData(uint8_t*& pBuf, FX_STRSIZE& nBufSize); | 324 FX_BOOL FDFToURLEncodedData(uint8_t*& pBuf, FX_STRSIZE& nBufSize); |
| 325 int GetPageIndexByAnnotDict(CPDF_Document* pDocument, | 325 int GetPageIndexByAnnotDict(CPDF_Document* pDocument, |
| 326 CPDF_Dictionary* pAnnotDict) const; | 326 CPDF_Dictionary* pAnnotDict) const; |
| 327 void DoFDFBuffer(CFX_ByteString sBuffer); | |
| 328 | 327 |
| 329 using CPDFSDK_WidgetMap = std::map<CPDF_FormControl*, CPDFSDK_Widget*>; | 328 using CPDFSDK_WidgetMap = std::map<CPDF_FormControl*, CPDFSDK_Widget*>; |
| 330 | 329 |
| 331 CPDFSDK_Document* m_pDocument; | 330 CPDFSDK_Document* m_pDocument; |
| 332 CPDF_InterForm* m_pInterForm; | 331 CPDF_InterForm* m_pInterForm; |
| 333 CPDFSDK_WidgetMap m_Map; | 332 CPDFSDK_WidgetMap m_Map; |
| 334 CPDFSDK_XFAWidgetMap m_XFAMap; | 333 CPDFSDK_XFAWidgetMap m_XFAMap; |
| 335 CPDFSDK_FieldSynchronizeMap m_FieldSynchronizeMap; | 334 CPDFSDK_FieldSynchronizeMap m_FieldSynchronizeMap; |
| 336 FX_BOOL m_bCalculate; | 335 FX_BOOL m_bCalculate; |
| 337 FX_BOOL m_bXfaCalculate; | 336 FX_BOOL m_bXfaCalculate; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot); | 376 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot); |
| 378 | 377 |
| 379 CPDFSDK_PageView* m_pPageView; | 378 CPDFSDK_PageView* m_pPageView; |
| 380 CFX_ByteString m_sType; | 379 CFX_ByteString m_sType; |
| 381 CFX_ByteString m_sSubType; | 380 CFX_ByteString m_sSubType; |
| 382 int m_nTabs; | 381 int m_nTabs; |
| 383 CPDFSDK_Annots m_Annots; | 382 CPDFSDK_Annots m_Annots; |
| 384 }; | 383 }; |
| 385 | 384 |
| 386 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ | 385 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ |
| OLD | NEW |