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 "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_layout_imp.h" | 15 #include "xfa/fxfa/parser/xfa_document_layout_imp.h" |
16 #include "xfa/fxfa/parser/xfa_localemgr.h" | 16 #include "xfa/fxfa/parser/xfa_localemgr.h" |
17 #include "xfa/fxfa/parser/xfa_object.h" | 17 #include "xfa/fxfa/parser/xfa_object.h" |
18 #include "xfa/fxfa/parser/xfa_parser_imp.h" | |
19 #include "xfa/fxfa/parser/xfa_script.h" | 18 #include "xfa/fxfa/parser/xfa_script.h" |
20 #include "xfa/fxfa/parser/xfa_script_imp.h" | 19 #include "xfa/fxfa/parser/xfa_script_imp.h" |
21 #include "xfa/fxfa/parser/xfa_utils.h" | 20 #include "xfa/fxfa/parser/xfa_utils.h" |
22 | 21 |
23 namespace { | 22 namespace { |
24 | 23 |
25 class CXFA_TraverseStrategy_DDGroup { | 24 class CXFA_TraverseStrategy_DDGroup { |
26 public: | 25 public: |
27 static CXFA_Node* GetFirstChild(CXFA_Node* pDDGroupNode) { | 26 static CXFA_Node* GetFirstChild(CXFA_Node* pDDGroupNode) { |
28 return pDDGroupNode->GetFirstChildByName(XFA_HASHCODE_Group); | 27 return pDDGroupNode->GetFirstChildByName(XFA_HASHCODE_Group); |
(...skipping 1491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1520 pFormRoot->RemoveChild(pNode); | 1519 pFormRoot->RemoveChild(pNode); |
1521 pFormRoot->SetObject(XFA_ATTRIBUTE_BindingNode, nullptr); | 1520 pFormRoot->SetObject(XFA_ATTRIBUTE_BindingNode, nullptr); |
1522 } | 1521 } |
1523 m_rgGlobalBinding.RemoveAll(); | 1522 m_rgGlobalBinding.RemoveAll(); |
1524 if (bDoDataMerge) | 1523 if (bDoDataMerge) |
1525 DoDataMerge(); | 1524 DoDataMerge(); |
1526 | 1525 |
1527 CXFA_LayoutProcessor* pLayoutProcessor = GetLayoutProcessor(); | 1526 CXFA_LayoutProcessor* pLayoutProcessor = GetLayoutProcessor(); |
1528 pLayoutProcessor->SetForceReLayout(TRUE); | 1527 pLayoutProcessor->SetForceReLayout(TRUE); |
1529 } | 1528 } |
OLD | NEW |