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 "core/include/fxcrt/fx_ext.h" | 7 #include "core/include/fxcrt/fx_ext.h" |
8 #include "xfa/src/fxfa/fm2js/xfa_fm2jsapi.h" | 8 #include "xfa/fxfa/fm2js/xfa_fm2jsapi.h" |
9 #include "xfa/src/fxfa/parser/xfa_basic_imp.h" | 9 #include "xfa/fxfa/parser/xfa_basic_imp.h" |
10 #include "xfa/src/fxfa/parser/xfa_docdata.h" | 10 #include "xfa/fxfa/parser/xfa_docdata.h" |
11 #include "xfa/src/fxfa/parser/xfa_doclayout.h" | 11 #include "xfa/fxfa/parser/xfa_doclayout.h" |
12 #include "xfa/src/fxfa/parser/xfa_document.h" | 12 #include "xfa/fxfa/parser/xfa_document.h" |
13 #include "xfa/src/fxfa/parser/xfa_document_layout_imp.h" | 13 #include "xfa/fxfa/parser/xfa_document_layout_imp.h" |
14 #include "xfa/src/fxfa/parser/xfa_localemgr.h" | 14 #include "xfa/fxfa/parser/xfa_localemgr.h" |
15 #include "xfa/src/fxfa/parser/xfa_object.h" | 15 #include "xfa/fxfa/parser/xfa_object.h" |
16 #include "xfa/src/fxfa/parser/xfa_parser.h" | 16 #include "xfa/fxfa/parser/xfa_parser.h" |
17 #include "xfa/src/fxfa/parser/xfa_script.h" | 17 #include "xfa/fxfa/parser/xfa_script.h" |
18 #include "xfa/src/fxfa/parser/xfa_script_datawindow.h" | 18 #include "xfa/fxfa/parser/xfa_script_datawindow.h" |
19 #include "xfa/src/fxfa/parser/xfa_script_eventpseudomodel.h" | 19 #include "xfa/fxfa/parser/xfa_script_eventpseudomodel.h" |
20 #include "xfa/src/fxfa/parser/xfa_script_hostpseudomodel.h" | 20 #include "xfa/fxfa/parser/xfa_script_hostpseudomodel.h" |
21 #include "xfa/src/fxfa/parser/xfa_script_layoutpseudomodel.h" | 21 #include "xfa/fxfa/parser/xfa_script_layoutpseudomodel.h" |
22 #include "xfa/src/fxfa/parser/xfa_script_logpseudomodel.h" | 22 #include "xfa/fxfa/parser/xfa_script_logpseudomodel.h" |
23 #include "xfa/src/fxfa/parser/xfa_script_signaturepseudomodel.h" | 23 #include "xfa/fxfa/parser/xfa_script_signaturepseudomodel.h" |
24 #include "xfa/src/fxfa/parser/xfa_utils.h" | 24 #include "xfa/fxfa/parser/xfa_utils.h" |
25 | 25 |
26 CXFA_Document::CXFA_Document(IXFA_DocParser* pParser) | 26 CXFA_Document::CXFA_Document(IXFA_DocParser* pParser) |
27 : m_pParser(pParser), | 27 : m_pParser(pParser), |
28 m_pScriptContext(nullptr), | 28 m_pScriptContext(nullptr), |
29 m_pLayoutProcessor(nullptr), | 29 m_pLayoutProcessor(nullptr), |
30 m_pRootNode(nullptr), | 30 m_pRootNode(nullptr), |
31 m_pLocalMgr(nullptr), | 31 m_pLocalMgr(nullptr), |
32 m_pScriptDataWindow(nullptr), | 32 m_pScriptDataWindow(nullptr), |
33 m_pScriptEvent(nullptr), | 33 m_pScriptEvent(nullptr), |
34 m_pScriptHost(nullptr), | 34 m_pScriptHost(nullptr), |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 pProtoNode)) { | 432 pProtoNode)) { |
433 continue; | 433 continue; |
434 } | 434 } |
435 } | 435 } |
436 if (!pProtoNode) { | 436 if (!pProtoNode) { |
437 continue; | 437 continue; |
438 } | 438 } |
439 XFA_ProtoMerge_MergeNode(this, pUseHrefNode, pProtoNode); | 439 XFA_ProtoMerge_MergeNode(this, pUseHrefNode, pProtoNode); |
440 } | 440 } |
441 } | 441 } |
OLD | NEW |