| 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 int BeforeFormReset(const CPDF_InterForm* pForm) override; | 243 int BeforeFormReset(const CPDF_InterForm* pForm) override; |
| 244 int AfterFormReset(const CPDF_InterForm* pForm) override; | 244 int AfterFormReset(const CPDF_InterForm* pForm) override; |
| 245 int BeforeFormImportData(const CPDF_InterForm* pForm) override; | 245 int BeforeFormImportData(const CPDF_InterForm* pForm) override; |
| 246 int AfterFormImportData(const CPDF_InterForm* pForm) override; | 246 int AfterFormImportData(const CPDF_InterForm* pForm) override; |
| 247 | 247 |
| 248 FX_BOOL FDFToURLEncodedData(CFX_WideString csFDFFile, | 248 FX_BOOL FDFToURLEncodedData(CFX_WideString csFDFFile, |
| 249 CFX_WideString csTxtFile); | 249 CFX_WideString csTxtFile); |
| 250 FX_BOOL FDFToURLEncodedData(uint8_t*& pBuf, FX_STRSIZE& nBufSize); | 250 FX_BOOL FDFToURLEncodedData(uint8_t*& pBuf, FX_STRSIZE& nBufSize); |
| 251 int GetPageIndexByAnnotDict(CPDF_Document* pDocument, | 251 int GetPageIndexByAnnotDict(CPDF_Document* pDocument, |
| 252 CPDF_Dictionary* pAnnotDict) const; | 252 CPDF_Dictionary* pAnnotDict) const; |
| 253 void DoFDFBuffer(CFX_ByteString sBuffer); | |
| 254 | 253 |
| 255 using CPDFSDK_WidgetMap = std::map<CPDF_FormControl*, CPDFSDK_Widget*>; | 254 using CPDFSDK_WidgetMap = std::map<CPDF_FormControl*, CPDFSDK_Widget*>; |
| 256 | 255 |
| 257 CPDFSDK_Document* m_pDocument; | 256 CPDFSDK_Document* m_pDocument; |
| 258 CPDF_InterForm* m_pInterForm; | 257 CPDF_InterForm* m_pInterForm; |
| 259 CPDFSDK_WidgetMap m_Map; | 258 CPDFSDK_WidgetMap m_Map; |
| 260 FX_BOOL m_bCalculate; | 259 FX_BOOL m_bCalculate; |
| 261 FX_BOOL m_bBusy; | 260 FX_BOOL m_bBusy; |
| 262 | 261 |
| 263 public: | 262 public: |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot); | 298 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot); |
| 300 | 299 |
| 301 CPDFSDK_PageView* m_pPageView; | 300 CPDFSDK_PageView* m_pPageView; |
| 302 CFX_ByteString m_sType; | 301 CFX_ByteString m_sType; |
| 303 CFX_ByteString m_sSubType; | 302 CFX_ByteString m_sSubType; |
| 304 int m_nTabs; | 303 int m_nTabs; |
| 305 CPDFSDK_Annots m_Annots; | 304 CPDFSDK_Annots m_Annots; |
| 306 }; | 305 }; |
| 307 | 306 |
| 308 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ | 307 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ |
| OLD | NEW |