| 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 CFX_WideString GetTemporaryFileName(const CFX_WideString& sFileExt); | 231 CFX_WideString GetTemporaryFileName(const CFX_WideString& sFileExt); |
| 232 | 232 |
| 233 private: | 233 private: |
| 234 // CPDF_FormNotify | 234 // CPDF_FormNotify |
| 235 int BeforeValueChange(const CPDF_FormField* pField, | 235 int BeforeValueChange(const CPDF_FormField* pField, |
| 236 CFX_WideString& csValue) override; | 236 CFX_WideString& csValue) override; |
| 237 int AfterValueChange(const CPDF_FormField* pField) override; | 237 int AfterValueChange(const CPDF_FormField* pField) override; |
| 238 int BeforeSelectionChange(const CPDF_FormField* pField, | 238 int BeforeSelectionChange(const CPDF_FormField* pField, |
| 239 CFX_WideString& csValue) override; | 239 CFX_WideString& csValue) override; |
| 240 int AfterSelectionChange(const CPDF_FormField* pField) override; | 240 int AfterSelectionChange(const CPDF_FormField* pField) override; |
| 241 int AfterCheckedStatusChange(const CPDF_FormField* pField, | 241 int AfterCheckedStatusChange( |
| 242 const CFX_ByteArray& statusArray) override; | 242 const CPDF_FormField* pField, |
| 243 const std::vector<uint8_t>& statusArray) override; |
| 243 int BeforeFormReset(const CPDF_InterForm* pForm) override; | 244 int BeforeFormReset(const CPDF_InterForm* pForm) override; |
| 244 int AfterFormReset(const CPDF_InterForm* pForm) override; | 245 int AfterFormReset(const CPDF_InterForm* pForm) override; |
| 245 int BeforeFormImportData(const CPDF_InterForm* pForm) override; | 246 int BeforeFormImportData(const CPDF_InterForm* pForm) override; |
| 246 int AfterFormImportData(const CPDF_InterForm* pForm) override; | 247 int AfterFormImportData(const CPDF_InterForm* pForm) override; |
| 247 | 248 |
| 248 FX_BOOL FDFToURLEncodedData(CFX_WideString csFDFFile, | 249 FX_BOOL FDFToURLEncodedData(CFX_WideString csFDFFile, |
| 249 CFX_WideString csTxtFile); | 250 CFX_WideString csTxtFile); |
| 250 FX_BOOL FDFToURLEncodedData(uint8_t*& pBuf, FX_STRSIZE& nBufSize); | 251 FX_BOOL FDFToURLEncodedData(uint8_t*& pBuf, FX_STRSIZE& nBufSize); |
| 251 int GetPageIndexByAnnotDict(CPDF_Document* pDocument, | 252 int GetPageIndexByAnnotDict(CPDF_Document* pDocument, |
| 252 CPDF_Dictionary* pAnnotDict) const; | 253 CPDF_Dictionary* pAnnotDict) const; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 const CPDFSDK_Annot* p2); | 300 const CPDFSDK_Annot* p2); |
| 300 | 301 |
| 301 TabOrder m_eTabOrder; | 302 TabOrder m_eTabOrder; |
| 302 CPDFSDK_PageView* m_pPageView; | 303 CPDFSDK_PageView* m_pPageView; |
| 303 CFX_ByteString m_sType; | 304 CFX_ByteString m_sType; |
| 304 CFX_ByteString m_sSubType; | 305 CFX_ByteString m_sSubType; |
| 305 std::vector<CPDFSDK_Annot*> m_Annots; | 306 std::vector<CPDFSDK_Annot*> m_Annots; |
| 306 }; | 307 }; |
| 307 | 308 |
| 308 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ | 309 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ |
| OLD | NEW |