| 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 "fxjse/include/cfxjse_arguments.h" | 12 #include "fxjse/include/cfxjse_arguments.h" |
| 13 #include "third_party/base/stl_util.h" | 13 #include "third_party/base/stl_util.h" |
| 14 #include "xfa/fde/xml/fde_xml_imp.h" | 14 #include "xfa/fde/xml/fde_xml_imp.h" |
| 15 #include "xfa/fgas/crt/fgas_codepage.h" | 15 #include "xfa/fgas/crt/fgas_codepage.h" |
| 16 #include "xfa/fgas/crt/fgas_system.h" | 16 #include "xfa/fgas/crt/fgas_system.h" |
| 17 #include "xfa/fxfa/app/xfa_ffnotify.h" | 17 #include "xfa/fxfa/app/xfa_ffnotify.h" |
| 18 #include "xfa/fxfa/parser/cxfa_occur.h" | 18 #include "xfa/fxfa/parser/cxfa_occur.h" |
| 19 #include "xfa/fxfa/parser/cxfa_simple_parser.h" |
| 19 #include "xfa/fxfa/parser/xfa_basic_imp.h" | 20 #include "xfa/fxfa/parser/xfa_basic_imp.h" |
| 20 #include "xfa/fxfa/parser/xfa_doclayout.h" | 21 #include "xfa/fxfa/parser/xfa_doclayout.h" |
| 21 #include "xfa/fxfa/parser/xfa_document.h" | 22 #include "xfa/fxfa/parser/xfa_document.h" |
| 22 #include "xfa/fxfa/parser/xfa_document_layout_imp.h" | 23 #include "xfa/fxfa/parser/xfa_document_layout_imp.h" |
| 23 #include "xfa/fxfa/parser/xfa_localemgr.h" | 24 #include "xfa/fxfa/parser/xfa_localemgr.h" |
| 24 #include "xfa/fxfa/parser/xfa_parser_imp.h" | |
| 25 #include "xfa/fxfa/parser/xfa_script.h" | 25 #include "xfa/fxfa/parser/xfa_script.h" |
| 26 #include "xfa/fxfa/parser/xfa_script_imp.h" | 26 #include "xfa/fxfa/parser/xfa_script_imp.h" |
| 27 #include "xfa/fxfa/parser/xfa_utils.h" | 27 #include "xfa/fxfa/parser/xfa_utils.h" |
| 28 | 28 |
| 29 namespace { | 29 namespace { |
| 30 | 30 |
| 31 void XFA_DeleteWideString(void* pData) { | 31 void XFA_DeleteWideString(void* pData) { |
| 32 delete static_cast<CFX_WideString*>(pData); | 32 delete static_cast<CFX_WideString*>(pData); |
| 33 } | 33 } |
| 34 | 34 |
| (...skipping 5220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5255 return m_pAttachNode->InsertChild(pNewNode, pBeforeNode); | 5255 return m_pAttachNode->InsertChild(pNewNode, pBeforeNode); |
| 5256 } | 5256 } |
| 5257 FX_BOOL CXFA_AttachNodeList::Remove(CXFA_Node* pNode) { | 5257 FX_BOOL CXFA_AttachNodeList::Remove(CXFA_Node* pNode) { |
| 5258 return m_pAttachNode->RemoveChild(pNode); | 5258 return m_pAttachNode->RemoveChild(pNode); |
| 5259 } | 5259 } |
| 5260 CXFA_Node* CXFA_AttachNodeList::Item(int32_t iIndex) { | 5260 CXFA_Node* CXFA_AttachNodeList::Item(int32_t iIndex) { |
| 5261 return m_pAttachNode->GetChild( | 5261 return m_pAttachNode->GetChild( |
| 5262 iIndex, XFA_Element::Unknown, | 5262 iIndex, XFA_Element::Unknown, |
| 5263 m_pAttachNode->GetElementType() == XFA_Element::Subform); | 5263 m_pAttachNode->GetElementType() == XFA_Element::Subform); |
| 5264 } | 5264 } |
| OLD | NEW |