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 "xfa/fde/xml/fde_xml.h" | 13 #include "xfa/fde/xml/fde_xml.h" |
13 #include "xfa/fxfa/parser/xfa_utils.h" | 14 #include "xfa/fxfa/parser/xfa_utils.h" |
14 #include "xfa/fxjse/cfxjse_arguments.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 class CXFA_OrdinaryObject; | 19 class CXFA_OrdinaryObject; |
20 | 20 |
21 enum XFA_OBJECTTYPE { | 21 enum XFA_OBJECTTYPE { |
22 XFA_OBJECTTYPE_OrdinaryObject = 0x0, | 22 XFA_OBJECTTYPE_OrdinaryObject = 0x0, |
23 XFA_OBJECTTYPE_OrdinaryList = 0x1, | 23 XFA_OBJECTTYPE_OrdinaryList = 0x1, |
24 XFA_OBJECTTYPE_NodeList = 0x2, | 24 XFA_OBJECTTYPE_NodeList = 0x2, |
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 | 787 |
788 inline CXFA_Node* ToNode(CXFA_Object* pObj) { | 788 inline CXFA_Node* ToNode(CXFA_Object* pObj) { |
789 return pObj ? pObj->AsNode() : nullptr; | 789 return pObj ? pObj->AsNode() : nullptr; |
790 } | 790 } |
791 | 791 |
792 inline const CXFA_Node* ToNode(const CXFA_Object* pObj) { | 792 inline const CXFA_Node* ToNode(const CXFA_Object* pObj) { |
793 return pObj ? pObj->AsNode() : nullptr; | 793 return pObj ? pObj->AsNode() : nullptr; |
794 } | 794 } |
795 | 795 |
796 #endif // XFA_FXFA_PARSER_XFA_OBJECT_H_ | 796 #endif // XFA_FXFA_PARSER_XFA_OBJECT_H_ |
OLD | NEW |