| 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_SRC_FXFA_PARSER_XFA_SCRIPT_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_SCRIPT_H_ |
| 8 #define XFA_SRC_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" | 11 #include "xfa/include/fxfa/fxfa_objectacc.h" |
| 12 | 12 |
| 13 #define XFA_RESOLVENODE_Children 0x0001 | 13 #define XFA_RESOLVENODE_Children 0x0001 |
| 14 #define XFA_RESOLVENODE_Attributes 0x0004 | 14 #define XFA_RESOLVENODE_Attributes 0x0004 |
| 15 #define XFA_RESOLVENODE_Properties 0x0008 | 15 #define XFA_RESOLVENODE_Properties 0x0008 |
| 16 #define XFA_RESOLVENODE_Siblings 0x0020 | 16 #define XFA_RESOLVENODE_Siblings 0x0020 |
| 17 #define XFA_RESOLVENODE_Parent 0x0040 | 17 #define XFA_RESOLVENODE_Parent 0x0040 |
| 18 #define XFA_RESOLVENODE_AnyChild 0x0080 | 18 #define XFA_RESOLVENODE_AnyChild 0x0080 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 virtual void SetNodesOfRunScript(CXFA_NodeArray* pArray) = 0; | 111 virtual void SetNodesOfRunScript(CXFA_NodeArray* pArray) = 0; |
| 112 virtual void AddNodesOfRunScript(const CXFA_NodeArray& nodes) = 0; | 112 virtual void AddNodesOfRunScript(const CXFA_NodeArray& nodes) = 0; |
| 113 virtual void AddNodesOfRunScript(CXFA_Node* pNode) = 0; | 113 virtual void AddNodesOfRunScript(CXFA_Node* pNode) = 0; |
| 114 virtual FXJSE_HCLASS GetJseNormalClass() = 0; | 114 virtual FXJSE_HCLASS GetJseNormalClass() = 0; |
| 115 virtual XFA_SCRIPTLANGTYPE GetType() = 0; | 115 virtual XFA_SCRIPTLANGTYPE GetType() = 0; |
| 116 virtual void SetRunAtType(XFA_ATTRIBUTEENUM eRunAt) = 0; | 116 virtual void SetRunAtType(XFA_ATTRIBUTEENUM eRunAt) = 0; |
| 117 virtual FX_BOOL IsRunAtClient() = 0; | 117 virtual FX_BOOL IsRunAtClient() = 0; |
| 118 }; | 118 }; |
| 119 IXFA_ScriptContext* XFA_ScriptContext_Create(CXFA_Document* pDocument); | 119 IXFA_ScriptContext* XFA_ScriptContext_Create(CXFA_Document* pDocument); |
| 120 | 120 |
| 121 #endif // XFA_SRC_FXFA_PARSER_XFA_SCRIPT_H_ | 121 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_H_ |
| OLD | NEW |