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

Side by Side Diff: xfa/fxfa/parser/xfa_script_resolveprocessor.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_script_nodehelper.h ('k') | xfa/fxgraphics/include/cfx_graphics.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_RESOLVEPROCESSOR_H_ 7 #ifndef XFA_FXFA_PARSER_XFA_SCRIPT_RESOLVEPROCESSOR_H_
8 #define XFA_FXFA_PARSER_XFA_SCRIPT_RESOLVEPROCESSOR_H_ 8 #define XFA_FXFA_PARSER_XFA_SCRIPT_RESOLVEPROCESSOR_H_
9 9
10 #include "xfa/fxfa/parser/xfa_object.h" 10 #include "xfa/fxfa/parser/xfa_object.h"
(...skipping 17 matching lines...) Expand all
28 m_pScriptAttribute(NULL), 28 m_pScriptAttribute(NULL),
29 m_dwFlag(XFA_RESOVENODE_RSTYPE_Nodes) {} 29 m_dwFlag(XFA_RESOVENODE_RSTYPE_Nodes) {}
30 ~CXFA_ResolveNodesData() { m_Nodes.RemoveAll(); } 30 ~CXFA_ResolveNodesData() { m_Nodes.RemoveAll(); }
31 CXFA_ScriptContext* m_pSC; 31 CXFA_ScriptContext* m_pSC;
32 CXFA_Object* m_CurNode; 32 CXFA_Object* m_CurNode;
33 CFX_WideString m_wsName; 33 CFX_WideString m_wsName;
34 uint32_t m_uHashName; 34 uint32_t m_uHashName;
35 CFX_WideString m_wsCondition; 35 CFX_WideString m_wsCondition;
36 int32_t m_nLevel; 36 int32_t m_nLevel;
37 CXFA_ObjArray m_Nodes; 37 CXFA_ObjArray m_Nodes;
38 FX_DWORD m_dwStyles; 38 uint32_t m_dwStyles;
39 const XFA_SCRIPTATTRIBUTEINFO* m_pScriptAttribute; 39 const XFA_SCRIPTATTRIBUTEINFO* m_pScriptAttribute;
40 XFA_RESOVENODE_RSTYPE m_dwFlag; 40 XFA_RESOVENODE_RSTYPE m_dwFlag;
41 }; 41 };
42 class CXFA_ResolveProcessor { 42 class CXFA_ResolveProcessor {
43 public: 43 public:
44 CXFA_ResolveProcessor(void); 44 CXFA_ResolveProcessor(void);
45 ~CXFA_ResolveProcessor(void); 45 ~CXFA_ResolveProcessor(void);
46 int32_t XFA_ResolveNodes(CXFA_ResolveNodesData& rnd); 46 int32_t XFA_ResolveNodes(CXFA_ResolveNodesData& rnd);
47 int32_t XFA_ResolveNodes_AnyChild(CXFA_ResolveNodesData& rnd); 47 int32_t XFA_ResolveNodes_AnyChild(CXFA_ResolveNodesData& rnd);
48 int32_t XFA_ResolveNodes_Dollar(CXFA_ResolveNodesData& rnd); 48 int32_t XFA_ResolveNodes_Dollar(CXFA_ResolveNodesData& rnd);
(...skipping 11 matching lines...) Expand all
60 void XFA_ResolveNode_DoPredicateFilter(int32_t iCurIndex, 60 void XFA_ResolveNode_DoPredicateFilter(int32_t iCurIndex,
61 CFX_WideString wsCondition, 61 CFX_WideString wsCondition,
62 int32_t iFoundCount, 62 int32_t iFoundCount,
63 CXFA_ResolveNodesData& rnd); 63 CXFA_ResolveNodesData& rnd);
64 int32_t XFA_ResolveNodes_GetFilter(const CFX_WideStringC& wsExpression, 64 int32_t XFA_ResolveNodes_GetFilter(const CFX_WideStringC& wsExpression,
65 int32_t nStart, 65 int32_t nStart,
66 CXFA_ResolveNodesData& rnd); 66 CXFA_ResolveNodesData& rnd);
67 void XFA_ResolveNode_FilterCondition(CXFA_ResolveNodesData& rnd, 67 void XFA_ResolveNode_FilterCondition(CXFA_ResolveNodesData& rnd,
68 CFX_WideString wsCondition); 68 CFX_WideString wsCondition);
69 int32_t XFA_ResolveNodes_PopStack(CFX_Int32Array& stack); 69 int32_t XFA_ResolveNodes_PopStack(CFX_Int32Array& stack);
70 void XFA_ResolveNodes_SetStylesForChild(FX_DWORD dwParentStyles, 70 void XFA_ResolveNodes_SetStylesForChild(uint32_t dwParentStyles,
71 CXFA_ResolveNodesData& rnd); 71 CXFA_ResolveNodesData& rnd);
72 int32_t XFA_ResolveNode_SetResultCreateNode(XFA_RESOLVENODE_RS& resolveNodeRS, 72 int32_t XFA_ResolveNode_SetResultCreateNode(XFA_RESOLVENODE_RS& resolveNodeRS,
73 CFX_WideString& wsLastCondition); 73 CFX_WideString& wsLastCondition);
74 void XFA_ResolveNode_SetIndexDataBind(CFX_WideString& wsNextCondition, 74 void XFA_ResolveNode_SetIndexDataBind(CFX_WideString& wsNextCondition,
75 int32_t& iIndex, 75 int32_t& iIndex,
76 int32_t iCount); 76 int32_t iCount);
77 CXFA_NodeHelper* GetNodeHelper() { return m_pNodeHelper; } 77 CXFA_NodeHelper* GetNodeHelper() { return m_pNodeHelper; }
78 78
79 private: 79 private:
80 CXFA_NodeHelper* m_pNodeHelper; 80 CXFA_NodeHelper* m_pNodeHelper;
81 81
82 public: 82 public:
83 int32_t m_iCurStart; 83 int32_t m_iCurStart;
84 }; 84 };
85 85
86 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_RESOLVEPROCESSOR_H_ 86 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_RESOLVEPROCESSOR_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_script_nodehelper.h ('k') | xfa/fxgraphics/include/cfx_graphics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698