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 "fxjs/include/cfxjse_arguments.h" | 12 #include "fxjs/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 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
806 | 806 |
807 inline CXFA_Node* ToNode(CXFA_Object* pObj) { | 807 inline CXFA_Node* ToNode(CXFA_Object* pObj) { |
808 return pObj ? pObj->AsNode() : nullptr; | 808 return pObj ? pObj->AsNode() : nullptr; |
809 } | 809 } |
810 | 810 |
811 inline const CXFA_Node* ToNode(const CXFA_Object* pObj) { | 811 inline const CXFA_Node* ToNode(const CXFA_Object* pObj) { |
812 return pObj ? pObj->AsNode() : nullptr; | 812 return pObj ? pObj->AsNode() : nullptr; |
813 } | 813 } |
814 | 814 |
815 #endif // XFA_FXFA_PARSER_XFA_OBJECT_H_ | 815 #endif // XFA_FXFA_PARSER_XFA_OBJECT_H_ |
OLD | NEW |