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_SCRIPT_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_SCRIPT_H_ |
8 #define XFA_FXFA_PARSER_XFA_SCRIPT_H_ | 8 #define XFA_FXFA_PARSER_XFA_SCRIPT_H_ |
9 | 9 |
10 #include "xfa/include/fxfa/fxfa.h" | 10 #include "xfa/include/fxfa/fxfa.h" |
11 #include "xfa/include/fxfa/fxfa_objectacc.h" | |
12 | 11 |
13 #define XFA_RESOLVENODE_Children 0x0001 | 12 #define XFA_RESOLVENODE_Children 0x0001 |
14 #define XFA_RESOLVENODE_Attributes 0x0004 | 13 #define XFA_RESOLVENODE_Attributes 0x0004 |
15 #define XFA_RESOLVENODE_Properties 0x0008 | 14 #define XFA_RESOLVENODE_Properties 0x0008 |
16 #define XFA_RESOLVENODE_Siblings 0x0020 | 15 #define XFA_RESOLVENODE_Siblings 0x0020 |
17 #define XFA_RESOLVENODE_Parent 0x0040 | 16 #define XFA_RESOLVENODE_Parent 0x0040 |
18 #define XFA_RESOLVENODE_AnyChild 0x0080 | 17 #define XFA_RESOLVENODE_AnyChild 0x0080 |
19 #define XFA_RESOLVENODE_ALL 0x0100 | 18 #define XFA_RESOLVENODE_ALL 0x0100 |
20 #define XFA_RESOLVENODE_CreateNode 0x0400 | 19 #define XFA_RESOLVENODE_CreateNode 0x0400 |
21 #define XFA_RESOLVENODE_Bind 0x0800 | 20 #define XFA_RESOLVENODE_Bind 0x0800 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 }; | 75 }; |
77 | 76 |
78 struct XFA_JSBUILTININFO { | 77 struct XFA_JSBUILTININFO { |
79 uint32_t uUnicodeHash; | 78 uint32_t uUnicodeHash; |
80 const FX_CHAR* pName; | 79 const FX_CHAR* pName; |
81 }; | 80 }; |
82 | 81 |
83 const XFA_JSBUILTININFO* XFA_GetJSBuiltinByHash(uint32_t uHashCode); | 82 const XFA_JSBUILTININFO* XFA_GetJSBuiltinByHash(uint32_t uHashCode); |
84 | 83 |
85 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_H_ | 84 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_H_ |
OLD | NEW |