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