OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 PDFium Authors. All rights reserved. | |
Wei Li
2016/07/07 21:34:14
2016?
dsinclair
2016/07/11 13:36:06
Done.
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | |
6 | |
7 #ifndef XFA_FXFA_PARSER_CXFA_XML_PARSER_H_ | |
8 #define XFA_FXFA_PARSER_CXFA_XML_PARSER_H_ | |
9 | |
10 #include "xfa/fde/xml/fde_xml_imp.h" | |
11 | |
12 class IFX_Stream; | |
13 class IFX_Pause; | |
14 | |
15 class CXFA_XMLParser : public CFDE_XMLParser { | |
16 public: | |
17 CXFA_XMLParser(CFDE_XMLNode* pRoot, IFX_Stream* pStream); | |
18 ~CXFA_XMLParser() override; | |
19 | |
20 // CFDE_XMLParser | |
21 void Release() override; | |
22 int32_t DoParser(IFX_Pause* pPause) override; | |
23 | |
24 FX_FILESIZE m_nStart[2]; | |
25 size_t m_nSize[2]; | |
26 FX_FILESIZE m_nElementStart; | |
27 uint16_t m_dwCheckStatus; | |
28 uint16_t m_dwCurrentCheckStatus; | |
29 | |
30 protected: | |
31 CFDE_XMLNode* m_pRoot; | |
32 IFX_Stream* m_pStream; | |
33 CFDE_XMLSyntaxParser* m_pParser; | |
34 CFDE_XMLNode* m_pParent; | |
35 CFDE_XMLNode* m_pChild; | |
36 CFX_StackTemplate<CFDE_XMLNode*> m_NodeStack; | |
37 CFX_WideString m_ws1; | |
38 CFX_WideString m_ws2; | |
39 FDE_XmlSyntaxResult m_syntaxParserResult; | |
40 }; | |
41 | |
42 #endif // XFA_FXFA_PARSER_CXFA_XML_PARSER_H_ | |
OLD | NEW |