| 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 #ifndef XFA_FXFA_PARSER_XFA_OBJECT_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_OBJECT_H_ |
| 8 #define XFA_FXFA_PARSER_XFA_OBJECT_H_ | 8 #define XFA_FXFA_PARSER_XFA_OBJECT_H_ |
| 9 | 9 |
| 10 #include <unordered_set> | 10 #include <unordered_set> |
| 11 | 11 |
| 12 #include "fxjse/include/cfxjse_arguments.h" | 12 #include "fxjs/include/cfxjse_arguments.h" |
| 13 #include "xfa/fde/xml/fde_xml.h" | 13 #include "xfa/fde/xml/fde_xml.h" |
| 14 #include "xfa/fxfa/parser/xfa_utils.h" | 14 #include "xfa/fxfa/parser/xfa_utils.h" |
| 15 | 15 |
| 16 class CXFA_Document; | 16 class CXFA_Document; |
| 17 class CXFA_Node; | 17 class CXFA_Node; |
| 18 class CXFA_NodeList; | 18 class CXFA_NodeList; |
| 19 | 19 |
| 20 enum class XFA_ObjectType { | 20 enum class XFA_ObjectType { |
| 21 Object, | 21 Object, |
| 22 List, | 22 List, |
| (...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 | 801 |
| 802 inline CXFA_Node* ToNode(CXFA_Object* pObj) { | 802 inline CXFA_Node* ToNode(CXFA_Object* pObj) { |
| 803 return pObj ? pObj->AsNode() : nullptr; | 803 return pObj ? pObj->AsNode() : nullptr; |
| 804 } | 804 } |
| 805 | 805 |
| 806 inline const CXFA_Node* ToNode(const CXFA_Object* pObj) { | 806 inline const CXFA_Node* ToNode(const CXFA_Object* pObj) { |
| 807 return pObj ? pObj->AsNode() : nullptr; | 807 return pObj ? pObj->AsNode() : nullptr; |
| 808 } | 808 } |
| 809 | 809 |
| 810 #endif // XFA_FXFA_PARSER_XFA_OBJECT_H_ | 810 #endif // XFA_FXFA_PARSER_XFA_OBJECT_H_ |
| OLD | NEW |