• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #ifndef XFA_FXFA_PARSER_XFA_DOCUMENT_DATAMERGER_IMP_H_
8 #define XFA_FXFA_PARSER_XFA_DOCUMENT_DATAMERGER_IMP_H_
9 
10 #include <vector>
11 
12 #include "xfa/fxfa/fxfa_basic.h"
13 
14 class CXFA_Document;
15 class CXFA_Node;
16 
17 CXFA_Node* XFA_NodeMerge_CloneOrMergeContainer(
18     CXFA_Document* pDocument,
19     CXFA_Node* pFormParent,
20     CXFA_Node* pTemplateNode,
21     bool bRecursive,
22     std::vector<CXFA_Node*>* pSubformArray);
23 CXFA_Node* XFA_DataMerge_FindDataScope(CXFA_Node* pParentFormNode);
24 CXFA_Node* XFA_DataMerge_FindFormDOMInstance(CXFA_Document* pDocument,
25                                              XFA_Element eType,
26                                              uint32_t dwNameHash,
27                                              CXFA_Node* pFormParent);
28 
29 #endif  // XFA_FXFA_PARSER_XFA_DOCUMENT_DATAMERGER_IMP_H_
30