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_NODEHELPER_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_SCRIPT_NODEHELPER_H_ |
8 #define XFA_FXFA_PARSER_XFA_SCRIPT_NODEHELPER_H_ | 8 #define XFA_FXFA_PARSER_XFA_SCRIPT_NODEHELPER_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_NodeHelper(void); | 22 CXFA_NodeHelper(void); |
23 ~CXFA_NodeHelper(void); | 23 ~CXFA_NodeHelper(void); |
24 CXFA_Node* XFA_ResolveNodes_GetOneChild(CXFA_Node* parent, | 24 CXFA_Node* XFA_ResolveNodes_GetOneChild(CXFA_Node* parent, |
25 const FX_WCHAR* pwsName, | 25 const FX_WCHAR* pwsName, |
26 FX_BOOL bIsClassName = FALSE); | 26 FX_BOOL bIsClassName = FALSE); |
27 CXFA_Node* XFA_ResolveNodes_GetParent( | 27 CXFA_Node* XFA_ResolveNodes_GetParent( |
28 CXFA_Node* pNode, | 28 CXFA_Node* pNode, |
29 XFA_LOGIC_TYPE eLogicType = XFA_LOGIC_NoTransparent); | 29 XFA_LOGIC_TYPE eLogicType = XFA_LOGIC_NoTransparent); |
30 | 30 |
31 int32_t XFA_NodeAcc_TraverseSiblings(CXFA_Node* parent, | 31 int32_t XFA_NodeAcc_TraverseSiblings(CXFA_Node* parent, |
32 FX_DWORD dNameHash, | 32 uint32_t dNameHash, |
33 CXFA_NodeArray* pSiblings, | 33 CXFA_NodeArray* pSiblings, |
34 XFA_LOGIC_TYPE eLogicType, | 34 XFA_LOGIC_TYPE eLogicType, |
35 FX_BOOL bIsClassName = FALSE, | 35 FX_BOOL bIsClassName = FALSE, |
36 FX_BOOL bIsFindProperty = TRUE); | 36 FX_BOOL bIsFindProperty = TRUE); |
37 int32_t XFA_NodeAcc_TraverseAnySiblings(CXFA_Node* parent, | 37 int32_t XFA_NodeAcc_TraverseAnySiblings(CXFA_Node* parent, |
38 FX_DWORD dNameHash, | 38 uint32_t dNameHash, |
39 CXFA_NodeArray* pSiblings, | 39 CXFA_NodeArray* pSiblings, |
40 FX_BOOL bIsClassName = FALSE); | 40 FX_BOOL bIsClassName = FALSE); |
41 int32_t XFA_CountSiblings(CXFA_Node* pNode, | 41 int32_t XFA_CountSiblings(CXFA_Node* pNode, |
42 XFA_LOGIC_TYPE eLogicType, | 42 XFA_LOGIC_TYPE eLogicType, |
43 CXFA_NodeArray* pSiblings, | 43 CXFA_NodeArray* pSiblings, |
44 FX_BOOL bIsClassName = FALSE); | 44 FX_BOOL bIsClassName = FALSE); |
45 int32_t XFA_GetIndex(CXFA_Node* pNode, | 45 int32_t XFA_GetIndex(CXFA_Node* pNode, |
46 XFA_LOGIC_TYPE eLogicType = XFA_LOGIC_NoTransparent, | 46 XFA_LOGIC_TYPE eLogicType = XFA_LOGIC_NoTransparent, |
47 FX_BOOL bIsProperty = FALSE, | 47 FX_BOOL bIsProperty = FALSE, |
48 FX_BOOL bIsClassIndex = FALSE); | 48 FX_BOOL bIsClassIndex = FALSE); |
(...skipping 14 matching lines...) Expand all Loading... |
63 public: | 63 public: |
64 XFA_ELEMENT m_eLastCreateType; | 64 XFA_ELEMENT m_eLastCreateType; |
65 CXFA_Node* m_pCreateParent; | 65 CXFA_Node* m_pCreateParent; |
66 int32_t m_iCreateCount; | 66 int32_t m_iCreateCount; |
67 XFA_RESOVENODE_RSTYPE m_iCreateFlag; | 67 XFA_RESOVENODE_RSTYPE m_iCreateFlag; |
68 int32_t m_iCurAllStart; | 68 int32_t m_iCurAllStart; |
69 CXFA_Node* m_pAllStartParent; | 69 CXFA_Node* m_pAllStartParent; |
70 }; | 70 }; |
71 | 71 |
72 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_NODEHELPER_H_ | 72 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_NODEHELPER_H_ |
OLD | NEW |