| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_FPDFDOC_CPDF_INTERFORM_H_ | 7 #ifndef CORE_FPDFDOC_CPDF_INTERFORM_H_ |
| 8 #define CORE_FPDFDOC_CPDF_INTERFORM_H_ | 8 #define CORE_FPDFDOC_CPDF_INTERFORM_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 int nLevel = 0); | 105 int nLevel = 0); |
| 106 bool ValidateFieldName(CFX_WideString& csNewFieldName, | 106 bool ValidateFieldName(CFX_WideString& csNewFieldName, |
| 107 int iType, | 107 int iType, |
| 108 const CPDF_FormField* pExcludedField, | 108 const CPDF_FormField* pExcludedField, |
| 109 const CPDF_FormControl* pExcludedControl) const; | 109 const CPDF_FormControl* pExcludedControl) const; |
| 110 | 110 |
| 111 static bool s_bUpdateAP; | 111 static bool s_bUpdateAP; |
| 112 | 112 |
| 113 CPDF_Document* const m_pDocument; | 113 CPDF_Document* const m_pDocument; |
| 114 CPDF_Dictionary* m_pFormDict; | 114 CPDF_Dictionary* m_pFormDict; |
| 115 std::map<const CPDF_Dictionary*, CPDF_FormControl*> m_ControlMap; | 115 std::map<const CPDF_Dictionary*, std::unique_ptr<CPDF_FormControl>> |
| 116 m_ControlMap; |
| 116 std::unique_ptr<CFieldTree> m_pFieldTree; | 117 std::unique_ptr<CFieldTree> m_pFieldTree; |
| 117 CFX_ByteString m_bsEncoding; | 118 CFX_ByteString m_bsEncoding; |
| 118 IPDF_FormNotify* m_pFormNotify; | 119 IPDF_FormNotify* m_pFormNotify; |
| 119 }; | 120 }; |
| 120 | 121 |
| 121 #endif // CORE_FPDFDOC_CPDF_INTERFORM_H_ | 122 #endif // CORE_FPDFDOC_CPDF_INTERFORM_H_ |
| OLD | NEW |