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 <memory> | 9 #include <memory> |
10 | 10 |
11 #include "core/fxcrt/include/fx_ext.h" | 11 #include "core/fxcrt/include/fx_ext.h" |
12 #include "third_party/base/stl_util.h" | 12 #include "third_party/base/stl_util.h" |
13 #include "xfa/fde/xml/fde_xml_imp.h" | 13 #include "xfa/fde/xml/fde_xml_imp.h" |
14 #include "xfa/fgas/crt/fgas_codepage.h" | 14 #include "xfa/fgas/crt/fgas_codepage.h" |
15 #include "xfa/fgas/crt/fgas_system.h" | 15 #include "xfa/fgas/crt/fgas_system.h" |
16 #include "xfa/fxfa/app/xfa_ffnotify.h" | 16 #include "xfa/fxfa/app/xfa_ffnotify.h" |
17 #include "xfa/fxfa/fm2js/xfa_fm2jsapi.h" | |
18 #include "xfa/fxfa/parser/cxfa_occur.h" | 17 #include "xfa/fxfa/parser/cxfa_occur.h" |
19 #include "xfa/fxfa/parser/xfa_basic_imp.h" | 18 #include "xfa/fxfa/parser/xfa_basic_imp.h" |
20 #include "xfa/fxfa/parser/xfa_doclayout.h" | 19 #include "xfa/fxfa/parser/xfa_doclayout.h" |
21 #include "xfa/fxfa/parser/xfa_document.h" | 20 #include "xfa/fxfa/parser/xfa_document.h" |
22 #include "xfa/fxfa/parser/xfa_document_layout_imp.h" | 21 #include "xfa/fxfa/parser/xfa_document_layout_imp.h" |
23 #include "xfa/fxfa/parser/xfa_localemgr.h" | 22 #include "xfa/fxfa/parser/xfa_localemgr.h" |
24 #include "xfa/fxfa/parser/xfa_parser.h" | 23 #include "xfa/fxfa/parser/xfa_parser.h" |
25 #include "xfa/fxfa/parser/xfa_parser_imp.h" | 24 #include "xfa/fxfa/parser/xfa_parser_imp.h" |
26 #include "xfa/fxfa/parser/xfa_script.h" | 25 #include "xfa/fxfa/parser/xfa_script.h" |
27 #include "xfa/fxfa/parser/xfa_script_imp.h" | 26 #include "xfa/fxfa/parser/xfa_script_imp.h" |
(...skipping 5337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5365 return m_pAttachNode->InsertChild(pNewNode, pBeforeNode); | 5364 return m_pAttachNode->InsertChild(pNewNode, pBeforeNode); |
5366 } | 5365 } |
5367 FX_BOOL CXFA_AttachNodeList::Remove(CXFA_Node* pNode) { | 5366 FX_BOOL CXFA_AttachNodeList::Remove(CXFA_Node* pNode) { |
5368 return m_pAttachNode->RemoveChild(pNode); | 5367 return m_pAttachNode->RemoveChild(pNode); |
5369 } | 5368 } |
5370 CXFA_Node* CXFA_AttachNodeList::Item(int32_t iIndex) { | 5369 CXFA_Node* CXFA_AttachNodeList::Item(int32_t iIndex) { |
5371 return m_pAttachNode->GetChild( | 5370 return m_pAttachNode->GetChild( |
5372 iIndex, XFA_ELEMENT_UNKNOWN, | 5371 iIndex, XFA_ELEMENT_UNKNOWN, |
5373 m_pAttachNode->GetClassID() == XFA_ELEMENT_Subform); | 5372 m_pAttachNode->GetClassID() == XFA_ELEMENT_Subform); |
5374 } | 5373 } |
OLD | NEW |