| 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 CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ | 7 #ifndef CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ |
| 8 #define CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ | 8 #define CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1013 | 1013 |
| 1014 virtual int AfterValueChange(const CPDF_FormField* pField) { return 0; } | 1014 virtual int AfterValueChange(const CPDF_FormField* pField) { return 0; } |
| 1015 | 1015 |
| 1016 virtual int BeforeSelectionChange(const CPDF_FormField* pField, | 1016 virtual int BeforeSelectionChange(const CPDF_FormField* pField, |
| 1017 CFX_WideString& csValue) { | 1017 CFX_WideString& csValue) { |
| 1018 return 0; | 1018 return 0; |
| 1019 } | 1019 } |
| 1020 | 1020 |
| 1021 virtual int AfterSelectionChange(const CPDF_FormField* pField) { return 0; } | 1021 virtual int AfterSelectionChange(const CPDF_FormField* pField) { return 0; } |
| 1022 | 1022 |
| 1023 virtual int AfterCheckedStatusChange(const CPDF_FormField* pField, | 1023 virtual int AfterCheckedStatusChange( |
| 1024 const CFX_ByteArray& statusArray) { | 1024 const CPDF_FormField* pField, |
| 1025 const std::vector<uint8_t>& statusArray) { |
| 1025 return 0; | 1026 return 0; |
| 1026 } | 1027 } |
| 1027 | 1028 |
| 1028 virtual int BeforeFormReset(const CPDF_InterForm* pForm) { return 0; } | 1029 virtual int BeforeFormReset(const CPDF_InterForm* pForm) { return 0; } |
| 1029 | 1030 |
| 1030 virtual int AfterFormReset(const CPDF_InterForm* pForm) { return 0; } | 1031 virtual int AfterFormReset(const CPDF_InterForm* pForm) { return 0; } |
| 1031 | 1032 |
| 1032 virtual int BeforeFormImportData(const CPDF_InterForm* pForm) { return 0; } | 1033 virtual int BeforeFormImportData(const CPDF_InterForm* pForm) { return 0; } |
| 1033 | 1034 |
| 1034 virtual int AfterFormImportData(const CPDF_InterForm* pForm) { return 0; } | 1035 virtual int AfterFormImportData(const CPDF_InterForm* pForm) { return 0; } |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1140 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; | 1141 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; |
| 1141 | 1142 |
| 1142 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; | 1143 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; |
| 1143 | 1144 |
| 1144 CPDF_Dictionary* const m_pDict; | 1145 CPDF_Dictionary* const m_pDict; |
| 1145 }; | 1146 }; |
| 1146 | 1147 |
| 1147 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); | 1148 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); |
| 1148 | 1149 |
| 1149 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ | 1150 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ |
| OLD | NEW |