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 void AfterCheckedStatusChange(CPDF_FormField* pField) override; |
242 const CFX_ByteArray& statusArray) override; | |
243 int BeforeFormReset(const CPDF_InterForm* pForm) override; | 242 int BeforeFormReset(const CPDF_InterForm* pForm) override; |
244 int AfterFormReset(const CPDF_InterForm* pForm) override; | 243 int AfterFormReset(const CPDF_InterForm* pForm) override; |
245 int BeforeFormImportData(const CPDF_InterForm* pForm) override; | 244 int BeforeFormImportData(const CPDF_InterForm* pForm) override; |
246 int AfterFormImportData(const CPDF_InterForm* pForm) override; | 245 int AfterFormImportData(const CPDF_InterForm* pForm) override; |
247 | 246 |
248 FX_BOOL FDFToURLEncodedData(CFX_WideString csFDFFile, | 247 FX_BOOL FDFToURLEncodedData(CFX_WideString csFDFFile, |
249 CFX_WideString csTxtFile); | 248 CFX_WideString csTxtFile); |
250 FX_BOOL FDFToURLEncodedData(uint8_t*& pBuf, FX_STRSIZE& nBufSize); | 249 FX_BOOL FDFToURLEncodedData(uint8_t*& pBuf, FX_STRSIZE& nBufSize); |
251 int GetPageIndexByAnnotDict(CPDF_Document* pDocument, | 250 int GetPageIndexByAnnotDict(CPDF_Document* pDocument, |
252 CPDF_Dictionary* pAnnotDict) const; | 251 CPDF_Dictionary* pAnnotDict) const; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 const CPDFSDK_Annot* p2); | 298 const CPDFSDK_Annot* p2); |
300 | 299 |
301 TabOrder m_eTabOrder; | 300 TabOrder m_eTabOrder; |
302 CPDFSDK_PageView* m_pPageView; | 301 CPDFSDK_PageView* m_pPageView; |
303 CFX_ByteString m_sType; | 302 CFX_ByteString m_sType; |
304 CFX_ByteString m_sSubType; | 303 CFX_ByteString m_sSubType; |
305 std::vector<CPDFSDK_Annot*> m_Annots; | 304 std::vector<CPDFSDK_Annot*> m_Annots; |
306 }; | 305 }; |
307 | 306 |
308 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ | 307 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ |
OLD | NEW |