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_SRC_FXFA_PARSER_XFA_PARSER_IMP_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_PARSER_IMP_H_ |
8 #define XFA_SRC_FXFA_PARSER_XFA_PARSER_IMP_H_ | 8 #define XFA_FXFA_PARSER_XFA_PARSER_IMP_H_ |
9 | 9 |
10 #include "xfa/src/fxfa/parser/xfa_parser.h" | 10 #include "xfa/fxfa/parser/xfa_parser.h" |
11 | 11 |
12 class CXFA_XMLParser; | 12 class CXFA_XMLParser; |
13 | 13 |
14 class CXFA_SimpleParser : public IXFA_Parser { | 14 class CXFA_SimpleParser : public IXFA_Parser { |
15 public: | 15 public: |
16 CXFA_SimpleParser(IXFA_ObjFactory* pFactory, FX_BOOL bDocumentParser = FALSE); | 16 CXFA_SimpleParser(IXFA_ObjFactory* pFactory, FX_BOOL bDocumentParser = FALSE); |
17 ~CXFA_SimpleParser(); | 17 ~CXFA_SimpleParser(); |
18 virtual void Release() { delete this; } | 18 virtual void Release() { delete this; } |
19 | 19 |
20 virtual int32_t StartParse(IFX_FileRead* pStream, | 20 virtual int32_t StartParse(IFX_FileRead* pStream, |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 IFDE_XMLSyntaxParser* m_pParser; | 128 IFDE_XMLSyntaxParser* m_pParser; |
129 | 129 |
130 IFDE_XMLNode* m_pParent; | 130 IFDE_XMLNode* m_pParent; |
131 IFDE_XMLNode* m_pChild; | 131 IFDE_XMLNode* m_pChild; |
132 CXFA_XMLNodeStack m_NodeStack; | 132 CXFA_XMLNodeStack m_NodeStack; |
133 CFX_WideString m_ws1; | 133 CFX_WideString m_ws1; |
134 CFX_WideString m_ws2; | 134 CFX_WideString m_ws2; |
135 FX_DWORD m_dwStatus; | 135 FX_DWORD m_dwStatus; |
136 }; | 136 }; |
137 | 137 |
138 #endif // XFA_SRC_FXFA_PARSER_XFA_PARSER_IMP_H_ | 138 #endif // XFA_FXFA_PARSER_XFA_PARSER_IMP_H_ |
OLD | NEW |