Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(474)

Side by Side Diff: core/fpdfdoc/doc_form.cpp

Issue 2183313004: Split fpdfdoc/include/fpdf_doc.h into individual classes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: review feedback Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fpdfdoc/doc_bookmark.cpp ('k') | core/fpdfdoc/doc_formcontrol.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <vector> 7 #include <vector>
8 8
9 #include "core/fpdfapi/fpdf_font/include/cpdf_fontencoding.h" 9 #include "core/fpdfapi/fpdf_font/include/cpdf_fontencoding.h"
10 #include "core/fpdfapi/fpdf_page/include/cpdf_page.h" 10 #include "core/fpdfapi/fpdf_page/include/cpdf_page.h"
11 #include "core/fpdfapi/fpdf_parser/include/cfdf_document.h" 11 #include "core/fpdfapi/fpdf_parser/include/cfdf_document.h"
12 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" 12 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h"
13 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" 13 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h"
14 #include "core/fpdfapi/fpdf_parser/include/cpdf_string.h" 14 #include "core/fpdfapi/fpdf_parser/include/cpdf_string.h"
15 #include "core/fpdfdoc/include/cpdf_filespec.h"
16 #include "core/fpdfdoc/include/cpdf_formcontrol.h"
17 #include "core/fpdfdoc/include/cpdf_interform.h"
15 #include "core/fpdfdoc/doc_utils.h" 18 #include "core/fpdfdoc/doc_utils.h"
16 #include "core/fpdfdoc/include/fpdf_doc.h"
17 #include "third_party/base/stl_util.h" 19 #include "third_party/base/stl_util.h"
18 20
19 namespace { 21 namespace {
20 22
21 const int nMaxRecursion = 32; 23 const int nMaxRecursion = 32;
22 24
23 const struct SupportFieldEncoding { 25 const struct SupportFieldEncoding {
24 const FX_CHAR* m_name; 26 const FX_CHAR* m_name;
25 uint16_t m_codePage; 27 uint16_t m_codePage;
26 } g_fieldEncoding[] = { 28 } g_fieldEncoding[] = {
(...skipping 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after
1192 FDF_ImportField(pField, L"", bNotify); 1194 FDF_ImportField(pField, L"", bNotify);
1193 } 1195 }
1194 if (bNotify && m_pFormNotify) 1196 if (bNotify && m_pFormNotify)
1195 m_pFormNotify->AfterFormImportData(this); 1197 m_pFormNotify->AfterFormImportData(this);
1196 return TRUE; 1198 return TRUE;
1197 } 1199 }
1198 1200
1199 void CPDF_InterForm::SetFormNotify(IPDF_FormNotify* pNotify) { 1201 void CPDF_InterForm::SetFormNotify(IPDF_FormNotify* pNotify) {
1200 m_pFormNotify = pNotify; 1202 m_pFormNotify = pNotify;
1201 } 1203 }
OLDNEW
« no previous file with comments | « core/fpdfdoc/doc_bookmark.cpp ('k') | core/fpdfdoc/doc_formcontrol.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698