OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. |
| 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 std::unique_ptr<CFDE_XMLSyntaxParser, ReleaseDeleter<CFDE_XMLSyntaxParser>> |
| 34 m_pParser; |
| 35 CFDE_XMLNode* m_pParent; |
| 36 CFDE_XMLNode* m_pChild; |
| 37 CFX_StackTemplate<CFDE_XMLNode*> m_NodeStack; |
| 38 CFX_WideString m_ws1; |
| 39 CFX_WideString m_ws2; |
| 40 FDE_XmlSyntaxResult m_syntaxParserResult; |
| 41 }; |
| 42 |
| 43 #endif // XFA_FXFA_PARSER_CXFA_XML_PARSER_H_ |
OLD | NEW |