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

Side by Side Diff: xfa/fxfa/parser/xfa_document_datamerger_imp.cpp

Issue 2129963002: Break xfa_parser_imp apart (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@ixfa_parser
Patch Set: Missing fuzzer headers Created 4 years, 5 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
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 "xfa/fxfa/parser/xfa_document_datamerger_imp.h" 7 #include "xfa/fxfa/parser/xfa_document_datamerger_imp.h"
8 8
9 #include "core/fxcrt/include/fx_ext.h" 9 #include "core/fxcrt/include/fx_ext.h"
10 #include "xfa/fde/xml/fde_xml_imp.h" 10 #include "xfa/fde/xml/fde_xml_imp.h"
11 #include "xfa/fxfa/parser/cxfa_occur.h" 11 #include "xfa/fxfa/parser/cxfa_occur.h"
12 #include "xfa/fxfa/parser/xfa_basic_imp.h" 12 #include "xfa/fxfa/parser/xfa_basic_imp.h"
13 #include "xfa/fxfa/parser/xfa_doclayout.h" 13 #include "xfa/fxfa/parser/xfa_doclayout.h"
14 #include "xfa/fxfa/parser/xfa_document.h" 14 #include "xfa/fxfa/parser/xfa_document.h"
15 #include "xfa/fxfa/parser/xfa_document_datadescription_imp.h" 15 #include "xfa/fxfa/parser/xfa_document_datadescription_imp.h"
16 #include "xfa/fxfa/parser/xfa_document_layout_imp.h" 16 #include "xfa/fxfa/parser/xfa_document_layout_imp.h"
17 #include "xfa/fxfa/parser/xfa_localemgr.h" 17 #include "xfa/fxfa/parser/xfa_localemgr.h"
18 #include "xfa/fxfa/parser/xfa_object.h" 18 #include "xfa/fxfa/parser/xfa_object.h"
19 #include "xfa/fxfa/parser/xfa_parser_imp.h"
20 #include "xfa/fxfa/parser/xfa_script.h" 19 #include "xfa/fxfa/parser/xfa_script.h"
21 #include "xfa/fxfa/parser/xfa_script_imp.h" 20 #include "xfa/fxfa/parser/xfa_script_imp.h"
22 #include "xfa/fxfa/parser/xfa_utils.h" 21 #include "xfa/fxfa/parser/xfa_utils.h"
23 22
24 static FX_BOOL XFA_GetOccurInfo(CXFA_Node* pOccurNode, 23 static FX_BOOL XFA_GetOccurInfo(CXFA_Node* pOccurNode,
25 int32_t& iMin, 24 int32_t& iMin,
26 int32_t& iMax, 25 int32_t& iMax,
27 int32_t& iInit) { 26 int32_t& iInit) {
28 if (!pOccurNode) { 27 if (!pOccurNode) {
29 return FALSE; 28 return FALSE;
(...skipping 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after
1402 } 1401 }
1403 pFormRoot->SetObject(XFA_ATTRIBUTE_BindingNode, nullptr); 1402 pFormRoot->SetObject(XFA_ATTRIBUTE_BindingNode, nullptr);
1404 } 1403 }
1405 XFA_DataMerge_ClearGlobalBinding(this); 1404 XFA_DataMerge_ClearGlobalBinding(this);
1406 if (bDoDataMerge) { 1405 if (bDoDataMerge) {
1407 DoDataMerge(); 1406 DoDataMerge();
1408 } 1407 }
1409 CXFA_LayoutProcessor* pLayoutProcessor = GetLayoutProcessor(); 1408 CXFA_LayoutProcessor* pLayoutProcessor = GetLayoutProcessor();
1410 pLayoutProcessor->SetForceReLayout(TRUE); 1409 pLayoutProcessor->SetForceReLayout(TRUE);
1411 } 1410 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698