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_IMP_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_SCRIPT_IMP_H_ |
8 #define XFA_SRC_FXFA_PARSER_XFA_SCRIPT_IMP_H_ | 8 #define XFA_FXFA_PARSER_XFA_SCRIPT_IMP_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 | 11 |
12 #include "xfa/src/fxfa/fm2js/xfa_fm2jsapi.h" | 12 #include "xfa/fxfa/fm2js/xfa_fm2jsapi.h" |
13 #include "xfa/src/fxfa/parser/xfa_document.h" | 13 #include "xfa/fxfa/parser/xfa_document.h" |
14 #include "xfa/src/fxfa/parser/xfa_script.h" | 14 #include "xfa/fxfa/parser/xfa_script.h" |
15 | 15 |
16 #define XFA_RESOLVENODE_TagName 0x0002 | 16 #define XFA_RESOLVENODE_TagName 0x0002 |
17 | 17 |
18 class CXFA_ResolveProcessor; | 18 class CXFA_ResolveProcessor; |
19 | 19 |
20 class CXFA_ScriptContext : public IXFA_ScriptContext { | 20 class CXFA_ScriptContext : public IXFA_ScriptContext { |
21 public: | 21 public: |
22 explicit CXFA_ScriptContext(CXFA_Document* pDocument); | 22 explicit CXFA_ScriptContext(CXFA_Document* pDocument); |
23 ~CXFA_ScriptContext(); | 23 ~CXFA_ScriptContext(); |
24 | 24 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 CXFA_NodeArray m_upObjectArray; | 117 CXFA_NodeArray m_upObjectArray; |
118 CFX_PtrArray m_CacheListArray; | 118 CFX_PtrArray m_CacheListArray; |
119 CXFA_NodeArray* m_pScriptNodeArray; | 119 CXFA_NodeArray* m_pScriptNodeArray; |
120 CXFA_ResolveProcessor* m_pResolveProcessor; | 120 CXFA_ResolveProcessor* m_pResolveProcessor; |
121 XFA_HFM2JSCONTEXT m_hFM2JSContext; | 121 XFA_HFM2JSCONTEXT m_hFM2JSContext; |
122 CXFA_Object* m_pThisObject; | 122 CXFA_Object* m_pThisObject; |
123 FX_DWORD m_dwBuiltInInFlags; | 123 FX_DWORD m_dwBuiltInInFlags; |
124 XFA_ATTRIBUTEENUM m_eRunAtType; | 124 XFA_ATTRIBUTEENUM m_eRunAtType; |
125 }; | 125 }; |
126 | 126 |
127 #endif // XFA_SRC_FXFA_PARSER_XFA_SCRIPT_IMP_H_ | 127 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_IMP_H_ |
OLD | NEW |