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/fxcrt/include/fx_ext.h" | 7 #include "core/fxcrt/include/fx_ext.h" |
8 #include "xfa/fxfa/app/xfa_ffnotify.h" | 8 #include "xfa/fxfa/app/xfa_ffnotify.h" |
9 #include "xfa/fxfa/parser/cscript_datawindow.h" | 9 #include "xfa/fxfa/parser/cscript_datawindow.h" |
10 #include "xfa/fxfa/parser/cscript_eventpseudomodel.h" | 10 #include "xfa/fxfa/parser/cscript_eventpseudomodel.h" |
11 #include "xfa/fxfa/parser/cscript_hostpseudomodel.h" | 11 #include "xfa/fxfa/parser/cscript_hostpseudomodel.h" |
12 #include "xfa/fxfa/parser/cscript_layoutpseudomodel.h" | 12 #include "xfa/fxfa/parser/cscript_layoutpseudomodel.h" |
13 #include "xfa/fxfa/parser/cscript_logpseudomodel.h" | 13 #include "xfa/fxfa/parser/cscript_logpseudomodel.h" |
14 #include "xfa/fxfa/parser/cscript_signaturepseudomodel.h" | 14 #include "xfa/fxfa/parser/cscript_signaturepseudomodel.h" |
15 #include "xfa/fxfa/parser/cxfa_document_parser.h" | 15 #include "xfa/fxfa/parser/cxfa_document_parser.h" |
| 16 #include "xfa/fxfa/parser/cxfa_layoutprocessor.h" |
16 #include "xfa/fxfa/parser/cxfa_scriptcontext.h" | 17 #include "xfa/fxfa/parser/cxfa_scriptcontext.h" |
17 #include "xfa/fxfa/parser/xfa_doclayout.h" | |
18 #include "xfa/fxfa/parser/xfa_document.h" | 18 #include "xfa/fxfa/parser/xfa_document.h" |
19 #include "xfa/fxfa/parser/xfa_document_layout_imp.h" | |
20 #include "xfa/fxfa/parser/xfa_localemgr.h" | 19 #include "xfa/fxfa/parser/xfa_localemgr.h" |
21 #include "xfa/fxfa/parser/xfa_object.h" | 20 #include "xfa/fxfa/parser/xfa_object.h" |
22 #include "xfa/fxfa/parser/xfa_resolvenode_rs.h" | 21 #include "xfa/fxfa/parser/xfa_resolvenode_rs.h" |
23 #include "xfa/fxfa/parser/xfa_utils.h" | 22 #include "xfa/fxfa/parser/xfa_utils.h" |
24 | 23 |
25 CXFA_Document::CXFA_Document(CXFA_DocumentParser* pParser) | 24 CXFA_Document::CXFA_Document(CXFA_DocumentParser* pParser) |
26 : m_pParser(pParser), | 25 : m_pParser(pParser), |
27 m_pScriptContext(nullptr), | 26 m_pScriptContext(nullptr), |
28 m_pLayoutProcessor(nullptr), | 27 m_pLayoutProcessor(nullptr), |
29 m_pRootNode(nullptr), | 28 m_pRootNode(nullptr), |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 if (!mIDMap.Lookup(FX_HashCode_GetW(wsID, false), pProtoNode)) { | 405 if (!mIDMap.Lookup(FX_HashCode_GetW(wsID, false), pProtoNode)) { |
407 continue; | 406 continue; |
408 } | 407 } |
409 } | 408 } |
410 if (!pProtoNode) { | 409 if (!pProtoNode) { |
411 continue; | 410 continue; |
412 } | 411 } |
413 XFA_ProtoMerge_MergeNode(this, pUseHrefNode, pProtoNode); | 412 XFA_ProtoMerge_MergeNode(this, pUseHrefNode, pProtoNode); |
414 } | 413 } |
415 } | 414 } |
OLD | NEW |