Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(728)

Side by Side Diff: xfa/fxfa/parser/xfa_script.h

Issue 1835703002: Remove FX_DWORD from XFA, part 2 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fxfa/parser/xfa_parser_imp.h ('k') | xfa/fxfa/parser/xfa_script_eventpseudomodel.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 virtual void SetEventParam(CXFA_EventParam param) = 0; 91 virtual void SetEventParam(CXFA_EventParam param) = 0;
92 virtual CXFA_EventParam* GetEventParam() = 0; 92 virtual CXFA_EventParam* GetEventParam() = 0;
93 virtual FX_BOOL RunScript(XFA_SCRIPTLANGTYPE eScriptType, 93 virtual FX_BOOL RunScript(XFA_SCRIPTLANGTYPE eScriptType,
94 const CFX_WideStringC& wsScript, 94 const CFX_WideStringC& wsScript,
95 FXJSE_HVALUE hRetValue, 95 FXJSE_HVALUE hRetValue,
96 CXFA_Object* pThisObject = NULL) = 0; 96 CXFA_Object* pThisObject = NULL) = 0;
97 virtual int32_t ResolveObjects(CXFA_Object* refNode, 97 virtual int32_t ResolveObjects(CXFA_Object* refNode,
98 const CFX_WideStringC& wsExpression, 98 const CFX_WideStringC& wsExpression,
99 XFA_RESOLVENODE_RS& resolveNodeRS, 99 XFA_RESOLVENODE_RS& resolveNodeRS,
100 FX_DWORD dwStyles = XFA_RESOLVENODE_Children, 100 uint32_t dwStyles = XFA_RESOLVENODE_Children,
101 CXFA_Node* bindNode = NULL) = 0; 101 CXFA_Node* bindNode = NULL) = 0;
102 virtual FXJSE_HVALUE GetJSValueFromMap(CXFA_Object* pObject) = 0; 102 virtual FXJSE_HVALUE GetJSValueFromMap(CXFA_Object* pObject) = 0;
103 virtual void CacheList(CXFA_NodeList* pList) = 0; 103 virtual void CacheList(CXFA_NodeList* pList) = 0;
104 virtual CXFA_Object* GetThisObject() const = 0; 104 virtual CXFA_Object* GetThisObject() const = 0;
105 virtual FXJSE_HRUNTIME GetRuntime() const = 0; 105 virtual FXJSE_HRUNTIME GetRuntime() const = 0;
106 virtual int32_t GetIndexByName(CXFA_Node* refNode) = 0; 106 virtual int32_t GetIndexByName(CXFA_Node* refNode) = 0;
107 virtual int32_t GetIndexByClassName(CXFA_Node* refNode) = 0; 107 virtual int32_t GetIndexByClassName(CXFA_Node* refNode) = 0;
108 virtual void GetSomExpression(CXFA_Node* refNode, 108 virtual void GetSomExpression(CXFA_Node* refNode,
109 CFX_WideString& wsExpression) = 0; 109 CFX_WideString& wsExpression) = 0;
110 110
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_FXFA_PARSER_XFA_SCRIPT_H_ 121 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_parser_imp.h ('k') | xfa/fxfa/parser/xfa_script_eventpseudomodel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698