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_object.h" | 7 #include "xfa/fxfa/parser/xfa_object.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/fgas/crt/fgas_codepage.h" | 11 #include "xfa/fgas/crt/fgas_codepage.h" |
12 #include "xfa/fgas/crt/fgas_system.h" | 12 #include "xfa/fgas/crt/fgas_system.h" |
13 #include "xfa/fxfa/app/xfa_ffnotify.h" | 13 #include "xfa/fxfa/app/xfa_ffnotify.h" |
14 #include "xfa/fxfa/fm2js/xfa_fm2jsapi.h" | 14 #include "xfa/fxfa/fm2js/xfa_fm2jsapi.h" |
15 #include "xfa/fxfa/parser/cxfa_occur.h" | 15 #include "xfa/fxfa/parser/cxfa_occur.h" |
16 #include "xfa/fxfa/parser/xfa_basic_imp.h" | 16 #include "xfa/fxfa/parser/xfa_basic_imp.h" |
17 #include "xfa/fxfa/parser/xfa_docdata.h" | |
18 #include "xfa/fxfa/parser/xfa_doclayout.h" | 17 #include "xfa/fxfa/parser/xfa_doclayout.h" |
19 #include "xfa/fxfa/parser/xfa_document.h" | 18 #include "xfa/fxfa/parser/xfa_document.h" |
20 #include "xfa/fxfa/parser/xfa_document_layout_imp.h" | 19 #include "xfa/fxfa/parser/xfa_document_layout_imp.h" |
21 #include "xfa/fxfa/parser/xfa_localemgr.h" | 20 #include "xfa/fxfa/parser/xfa_localemgr.h" |
22 #include "xfa/fxfa/parser/xfa_parser.h" | 21 #include "xfa/fxfa/parser/xfa_parser.h" |
23 #include "xfa/fxfa/parser/xfa_parser_imp.h" | 22 #include "xfa/fxfa/parser/xfa_parser_imp.h" |
24 #include "xfa/fxfa/parser/xfa_script.h" | 23 #include "xfa/fxfa/parser/xfa_script.h" |
25 #include "xfa/fxfa/parser/xfa_script_imp.h" | 24 #include "xfa/fxfa/parser/xfa_script_imp.h" |
26 #include "xfa/fxfa/parser/xfa_utils.h" | 25 #include "xfa/fxfa/parser/xfa_utils.h" |
27 #include "xfa/fxjse/cfxjse_arguments.h" | 26 #include "xfa/fxjse/cfxjse_arguments.h" |
(...skipping 5368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5396 return m_pAttachNode->InsertChild(pNewNode, pBeforeNode); | 5395 return m_pAttachNode->InsertChild(pNewNode, pBeforeNode); |
5397 } | 5396 } |
5398 FX_BOOL CXFA_AttachNodeList::Remove(CXFA_Node* pNode) { | 5397 FX_BOOL CXFA_AttachNodeList::Remove(CXFA_Node* pNode) { |
5399 return m_pAttachNode->RemoveChild(pNode); | 5398 return m_pAttachNode->RemoveChild(pNode); |
5400 } | 5399 } |
5401 CXFA_Node* CXFA_AttachNodeList::Item(int32_t iIndex) { | 5400 CXFA_Node* CXFA_AttachNodeList::Item(int32_t iIndex) { |
5402 return m_pAttachNode->GetChild( | 5401 return m_pAttachNode->GetChild( |
5403 iIndex, XFA_ELEMENT_UNKNOWN, | 5402 iIndex, XFA_ELEMENT_UNKNOWN, |
5404 m_pAttachNode->GetClassID() == XFA_ELEMENT_Subform); | 5403 m_pAttachNode->GetClassID() == XFA_ELEMENT_Subform); |
5405 } | 5404 } |
OLD | NEW |