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_CXFA_RESOLVEPROCESSOR_H_ | 7 #ifndef XFA_FXFA_PARSER_CXFA_RESOLVEPROCESSOR_H_ |
8 #define XFA_FXFA_PARSER_CXFA_RESOLVEPROCESSOR_H_ | 8 #define XFA_FXFA_PARSER_CXFA_RESOLVEPROCESSOR_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 private: | 53 private: |
54 int32_t ResolveForAttributeRs(CXFA_Object* curNode, | 54 int32_t ResolveForAttributeRs(CXFA_Object* curNode, |
55 CXFA_ResolveNodesData& rnd, | 55 CXFA_ResolveNodesData& rnd, |
56 const CFX_WideStringC& strAttr); | 56 const CFX_WideStringC& strAttr); |
57 int32_t ResolveAnyChild(CXFA_ResolveNodesData& rnd); | 57 int32_t ResolveAnyChild(CXFA_ResolveNodesData& rnd); |
58 int32_t ResolveDollar(CXFA_ResolveNodesData& rnd); | 58 int32_t ResolveDollar(CXFA_ResolveNodesData& rnd); |
59 int32_t ResolveExcalmatory(CXFA_ResolveNodesData& rnd); | 59 int32_t ResolveExcalmatory(CXFA_ResolveNodesData& rnd); |
60 int32_t ResolveNumberSign(CXFA_ResolveNodesData& rnd); | 60 int32_t ResolveNumberSign(CXFA_ResolveNodesData& rnd); |
61 int32_t ResolveAsterisk(CXFA_ResolveNodesData& rnd); | 61 int32_t ResolveAsterisk(CXFA_ResolveNodesData& rnd); |
62 int32_t ResolveNormal(CXFA_ResolveNodesData& rnd); | 62 int32_t ResolveNormal(CXFA_ResolveNodesData& rnd); |
63 int32_t ResolvePopStack(CFX_Int32Array& stack); | 63 int32_t ResolvePopStack(CFX_ArrayTemplate<int32_t>& stack); |
64 void SetStylesForChild(uint32_t dwParentStyles, CXFA_ResolveNodesData& rnd); | 64 void SetStylesForChild(uint32_t dwParentStyles, CXFA_ResolveNodesData& rnd); |
65 | 65 |
66 void ConditionArray(int32_t iCurIndex, | 66 void ConditionArray(int32_t iCurIndex, |
67 CFX_WideString wsCondition, | 67 CFX_WideString wsCondition, |
68 int32_t iFoundCount, | 68 int32_t iFoundCount, |
69 CXFA_ResolveNodesData& rnd); | 69 CXFA_ResolveNodesData& rnd); |
70 void DoPredicateFilter(int32_t iCurIndex, | 70 void DoPredicateFilter(int32_t iCurIndex, |
71 CFX_WideString wsCondition, | 71 CFX_WideString wsCondition, |
72 int32_t iFoundCount, | 72 int32_t iFoundCount, |
73 CXFA_ResolveNodesData& rnd); | 73 CXFA_ResolveNodesData& rnd); |
74 void FilterCondition(CXFA_ResolveNodesData& rnd, CFX_WideString wsCondition); | 74 void FilterCondition(CXFA_ResolveNodesData& rnd, CFX_WideString wsCondition); |
75 | 75 |
76 int32_t m_iCurStart; | 76 int32_t m_iCurStart; |
77 std::unique_ptr<CXFA_NodeHelper> m_pNodeHelper; | 77 std::unique_ptr<CXFA_NodeHelper> m_pNodeHelper; |
78 }; | 78 }; |
79 | 79 |
80 #endif // XFA_FXFA_PARSER_CXFA_RESOLVEPROCESSOR_H_ | 80 #endif // XFA_FXFA_PARSER_CXFA_RESOLVEPROCESSOR_H_ |
OLD | NEW |