OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_object.h" | 7 #include "xfa/fxfa/parser/xfa_object.h" |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "core/fxcrt/include/fx_ext.h" | 12 #include "core/fxcrt/fx_ext.h" |
13 #include "fxjs/include/cfxjse_value.h" | 13 #include "fxjs/include/cfxjse_value.h" |
14 #include "third_party/base/stl_util.h" | 14 #include "third_party/base/stl_util.h" |
15 #include "xfa/fde/xml/fde_xml_imp.h" | 15 #include "xfa/fde/xml/fde_xml_imp.h" |
16 #include "xfa/fgas/crt/fgas_codepage.h" | 16 #include "xfa/fgas/crt/fgas_codepage.h" |
17 #include "xfa/fxfa/app/xfa_ffnotify.h" | 17 #include "xfa/fxfa/app/xfa_ffnotify.h" |
18 #include "xfa/fxfa/include/cxfa_eventparam.h" | 18 #include "xfa/fxfa/include/cxfa_eventparam.h" |
19 #include "xfa/fxfa/parser/cxfa_document.h" | 19 #include "xfa/fxfa/parser/cxfa_document.h" |
20 #include "xfa/fxfa/parser/cxfa_layoutprocessor.h" | 20 #include "xfa/fxfa/parser/cxfa_layoutprocessor.h" |
21 #include "xfa/fxfa/parser/cxfa_measurement.h" | 21 #include "xfa/fxfa/parser/cxfa_measurement.h" |
22 #include "xfa/fxfa/parser/cxfa_occur.h" | 22 #include "xfa/fxfa/parser/cxfa_occur.h" |
(...skipping 5162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5185 CXFA_Node* pSrcChild = pSrcModule->GetNodeItem(XFA_NODEITEM_FirstChild); | 5185 CXFA_Node* pSrcChild = pSrcModule->GetNodeItem(XFA_NODEITEM_FirstChild); |
5186 CXFA_Node* pDstChild = pDstModule->GetNodeItem(XFA_NODEITEM_FirstChild); | 5186 CXFA_Node* pDstChild = pDstModule->GetNodeItem(XFA_NODEITEM_FirstChild); |
5187 for (; pSrcChild && pDstChild; | 5187 for (; pSrcChild && pDstChild; |
5188 pSrcChild = pSrcChild->GetNodeItem(XFA_NODEITEM_NextSibling), | 5188 pSrcChild = pSrcChild->GetNodeItem(XFA_NODEITEM_NextSibling), |
5189 pDstChild = pDstChild->GetNodeItem(XFA_NODEITEM_NextSibling)) { | 5189 pDstChild = pDstChild->GetNodeItem(XFA_NODEITEM_NextSibling)) { |
5190 MoveBufferMapData(pSrcChild, pDstChild, pKey, TRUE); | 5190 MoveBufferMapData(pSrcChild, pDstChild, pKey, TRUE); |
5191 } | 5191 } |
5192 } | 5192 } |
5193 pSrcModule->MoveBufferMapData(pDstModule, pKey); | 5193 pSrcModule->MoveBufferMapData(pDstModule, pKey); |
5194 } | 5194 } |
OLD | NEW |