| 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_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 11 matching lines...) Expand all Loading... |
| 22 CXFA_Object* m_CurNode; | 22 CXFA_Object* m_CurNode; |
| 23 CFX_WideString m_wsName; | 23 CFX_WideString m_wsName; |
| 24 XFA_HashCode m_uHashName; | 24 XFA_HashCode m_uHashName; |
| 25 CFX_WideString m_wsCondition; | 25 CFX_WideString m_wsCondition; |
| 26 int32_t m_nLevel; | 26 int32_t m_nLevel; |
| 27 CXFA_ObjArray m_Nodes; | 27 CXFA_ObjArray m_Nodes; |
| 28 uint32_t m_dwStyles; | 28 uint32_t m_dwStyles; |
| 29 const XFA_SCRIPTATTRIBUTEINFO* m_pScriptAttribute; | 29 const XFA_SCRIPTATTRIBUTEINFO* m_pScriptAttribute; |
| 30 XFA_RESOVENODE_RSTYPE m_dwFlag; | 30 XFA_RESOVENODE_RSTYPE m_dwFlag; |
| 31 }; | 31 }; |
| 32 |
| 32 class CXFA_ResolveProcessor { | 33 class CXFA_ResolveProcessor { |
| 33 public: | 34 public: |
| 34 CXFA_ResolveProcessor(void); | 35 CXFA_ResolveProcessor(); |
| 35 ~CXFA_ResolveProcessor(void); | 36 ~CXFA_ResolveProcessor(); |
| 37 |
| 36 int32_t XFA_ResolveNodes(CXFA_ResolveNodesData& rnd); | 38 int32_t XFA_ResolveNodes(CXFA_ResolveNodesData& rnd); |
| 37 int32_t XFA_ResolveNodes_AnyChild(CXFA_ResolveNodesData& rnd); | 39 int32_t XFA_ResolveNodes_AnyChild(CXFA_ResolveNodesData& rnd); |
| 38 int32_t XFA_ResolveNodes_Dollar(CXFA_ResolveNodesData& rnd); | 40 int32_t XFA_ResolveNodes_Dollar(CXFA_ResolveNodesData& rnd); |
| 39 int32_t XFA_ResolveNodes_Excalmatory(CXFA_ResolveNodesData& rnd); | 41 int32_t XFA_ResolveNodes_Excalmatory(CXFA_ResolveNodesData& rnd); |
| 40 int32_t XFA_ResolveNodes_NumberSign(CXFA_ResolveNodesData& rnd); | 42 int32_t XFA_ResolveNodes_NumberSign(CXFA_ResolveNodesData& rnd); |
| 41 int32_t XFA_ResolveNodes_Asterisk(CXFA_ResolveNodesData& rnd); | 43 int32_t XFA_ResolveNodes_Asterisk(CXFA_ResolveNodesData& rnd); |
| 42 int32_t XFA_ResolveNodes_Normal(CXFA_ResolveNodesData& rnd); | 44 int32_t XFA_ResolveNodes_Normal(CXFA_ResolveNodesData& rnd); |
| 43 int32_t XFA_ResolveNodes_ForAttributeRs(CXFA_Object* curNode, | 45 int32_t XFA_ResolveNodes_ForAttributeRs(CXFA_Object* curNode, |
| 44 CXFA_ResolveNodesData& rnd, | 46 CXFA_ResolveNodesData& rnd, |
| 45 const CFX_WideStringC& strAttr); | 47 const CFX_WideStringC& strAttr); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 67 CXFA_NodeHelper* GetNodeHelper() { return m_pNodeHelper; } | 69 CXFA_NodeHelper* GetNodeHelper() { return m_pNodeHelper; } |
| 68 | 70 |
| 69 private: | 71 private: |
| 70 CXFA_NodeHelper* m_pNodeHelper; | 72 CXFA_NodeHelper* m_pNodeHelper; |
| 71 | 73 |
| 72 public: | 74 public: |
| 73 int32_t m_iCurStart; | 75 int32_t m_iCurStart; |
| 74 }; | 76 }; |
| 75 | 77 |
| 76 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_RESOLVEPROCESSOR_H_ | 78 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_RESOLVEPROCESSOR_H_ |
| OLD | NEW |