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 "fxjse/include/cfxjse_value.h" |
10 #include "xfa/fxfa/include/fxfa.h" | 11 #include "xfa/fxfa/include/fxfa.h" |
11 #include "xfa/fxfa/parser/cxfa_valuearray.h" | 12 #include "xfa/fxfa/parser/cxfa_valuearray.h" |
12 #include "xfa/fxjse/value.h" | |
13 | 13 |
14 #define XFA_RESOLVENODE_Children 0x0001 | 14 #define XFA_RESOLVENODE_Children 0x0001 |
15 #define XFA_RESOLVENODE_Attributes 0x0004 | 15 #define XFA_RESOLVENODE_Attributes 0x0004 |
16 #define XFA_RESOLVENODE_Properties 0x0008 | 16 #define XFA_RESOLVENODE_Properties 0x0008 |
17 #define XFA_RESOLVENODE_Siblings 0x0020 | 17 #define XFA_RESOLVENODE_Siblings 0x0020 |
18 #define XFA_RESOLVENODE_Parent 0x0040 | 18 #define XFA_RESOLVENODE_Parent 0x0040 |
19 #define XFA_RESOLVENODE_AnyChild 0x0080 | 19 #define XFA_RESOLVENODE_AnyChild 0x0080 |
20 #define XFA_RESOLVENODE_ALL 0x0100 | 20 #define XFA_RESOLVENODE_ALL 0x0100 |
21 #define XFA_RESOLVENODE_CreateNode 0x0400 | 21 #define XFA_RESOLVENODE_CreateNode 0x0400 |
22 #define XFA_RESOLVENODE_Bind 0x0800 | 22 #define XFA_RESOLVENODE_Bind 0x0800 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 } | 55 } |
56 return valueArray.GetSize(); | 56 return valueArray.GetSize(); |
57 } | 57 } |
58 | 58 |
59 CXFA_ObjArray nodes; | 59 CXFA_ObjArray nodes; |
60 XFA_RESOVENODE_RSTYPE dwFlags; | 60 XFA_RESOVENODE_RSTYPE dwFlags; |
61 const XFA_SCRIPTATTRIBUTEINFO* pScriptAttribute; | 61 const XFA_SCRIPTATTRIBUTEINFO* pScriptAttribute; |
62 }; | 62 }; |
63 | 63 |
64 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_H_ | 64 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_H_ |
OLD | NEW |