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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 #endif // PDF_ENABLE_XFA | 320 #endif // PDF_ENABLE_XFA |
321 | 321 |
322 private: | 322 private: |
323 // CPDF_FormNotify | 323 // CPDF_FormNotify |
324 int BeforeValueChange(const CPDF_FormField* pField, | 324 int BeforeValueChange(const CPDF_FormField* pField, |
325 CFX_WideString& csValue) override; | 325 CFX_WideString& csValue) override; |
326 int AfterValueChange(const CPDF_FormField* pField) override; | 326 int AfterValueChange(const CPDF_FormField* pField) override; |
327 int BeforeSelectionChange(const CPDF_FormField* pField, | 327 int BeforeSelectionChange(const CPDF_FormField* pField, |
328 CFX_WideString& csValue) override; | 328 CFX_WideString& csValue) override; |
329 int AfterSelectionChange(const CPDF_FormField* pField) override; | 329 int AfterSelectionChange(const CPDF_FormField* pField) override; |
330 int AfterCheckedStatusChange(const CPDF_FormField* pField, | 330 void AfterCheckedStatusChange(CPDF_FormField* pField) override; |
331 const CFX_ByteArray& statusArray) override; | |
332 int BeforeFormReset(const CPDF_InterForm* pForm) override; | 331 int BeforeFormReset(const CPDF_InterForm* pForm) override; |
333 int AfterFormReset(const CPDF_InterForm* pForm) override; | 332 int AfterFormReset(const CPDF_InterForm* pForm) override; |
334 int BeforeFormImportData(const CPDF_InterForm* pForm) override; | 333 int BeforeFormImportData(const CPDF_InterForm* pForm) override; |
335 int AfterFormImportData(const CPDF_InterForm* pForm) override; | 334 int AfterFormImportData(const CPDF_InterForm* pForm) override; |
336 | 335 |
337 FX_BOOL FDFToURLEncodedData(CFX_WideString csFDFFile, | 336 FX_BOOL FDFToURLEncodedData(CFX_WideString csFDFFile, |
338 CFX_WideString csTxtFile); | 337 CFX_WideString csTxtFile); |
339 FX_BOOL FDFToURLEncodedData(uint8_t*& pBuf, FX_STRSIZE& nBufSize); | 338 FX_BOOL FDFToURLEncodedData(uint8_t*& pBuf, FX_STRSIZE& nBufSize); |
340 int GetPageIndexByAnnotDict(CPDF_Document* pDocument, | 339 int GetPageIndexByAnnotDict(CPDF_Document* pDocument, |
341 CPDF_Dictionary* pAnnotDict) const; | 340 CPDF_Dictionary* pAnnotDict) const; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 const CPDFSDK_Annot* p2); | 398 const CPDFSDK_Annot* p2); |
400 | 399 |
401 TabOrder m_eTabOrder; | 400 TabOrder m_eTabOrder; |
402 CPDFSDK_PageView* m_pPageView; | 401 CPDFSDK_PageView* m_pPageView; |
403 CFX_ByteString m_sType; | 402 CFX_ByteString m_sType; |
404 CFX_ByteString m_sSubType; | 403 CFX_ByteString m_sSubType; |
405 std::vector<CPDFSDK_Annot*> m_Annots; | 404 std::vector<CPDFSDK_Annot*> m_Annots; |
406 }; | 405 }; |
407 | 406 |
408 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ | 407 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ |
OLD | NEW |