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 #include "core/include/fpdfapi/cpdf_document.h" |
7 #include "core/include/fpdfdoc/fpdf_doc.h" | 8 #include "core/include/fpdfdoc/fpdf_doc.h" |
8 #include "core/src/fpdfdoc/doc_utils.h" | 9 #include "core/src/fpdfdoc/doc_utils.h" |
9 #include "third_party/base/stl_util.h" | 10 #include "third_party/base/stl_util.h" |
10 | 11 |
11 namespace { | 12 namespace { |
12 | 13 |
13 const int nMaxRecursion = 32; | 14 const int nMaxRecursion = 32; |
14 | 15 |
15 const struct SupportFieldEncoding { | 16 const struct SupportFieldEncoding { |
16 const FX_CHAR* m_name; | 17 const FX_CHAR* m_name; |
(...skipping 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1191 FDF_ImportField(pField, L"", bNotify); | 1192 FDF_ImportField(pField, L"", bNotify); |
1192 } | 1193 } |
1193 if (bNotify && m_pFormNotify) { | 1194 if (bNotify && m_pFormNotify) { |
1194 m_pFormNotify->AfterFormImportData(this); | 1195 m_pFormNotify->AfterFormImportData(this); |
1195 } | 1196 } |
1196 return TRUE; | 1197 return TRUE; |
1197 } | 1198 } |
1198 void CPDF_InterForm::SetFormNotify(const CPDF_FormNotify* pNotify) { | 1199 void CPDF_InterForm::SetFormNotify(const CPDF_FormNotify* pNotify) { |
1199 m_pFormNotify = (CPDF_FormNotify*)pNotify; | 1200 m_pFormNotify = (CPDF_FormNotify*)pNotify; |
1200 } | 1201 } |
OLD | NEW |