Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(590)

Side by Side Diff: xfa/fde/xml/fde_xml.h

Issue 1835703002: Remove FX_DWORD from XFA, part 2 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fde/tto/fde_textout.h ('k') | xfa/fde/xml/fde_xml_imp.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_FDE_XML_FDE_XML_H_ 7 #ifndef XFA_FDE_XML_FDE_XML_H_
8 #define XFA_FDE_XML_FDE_XML_H_ 8 #define XFA_FDE_XML_FDE_XML_H_
9 9
10 #include "xfa/fgas/crt/fgas_stream.h" 10 #include "xfa/fgas/crt/fgas_stream.h"
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 #define FDE_XMLSYNTAXSTATUS_Error 0xFE 202 #define FDE_XMLSYNTAXSTATUS_Error 0xFE
203 #define FDE_XMLSYNTAXSTATUS_EOS 0xFF 203 #define FDE_XMLSYNTAXSTATUS_EOS 0xFF
204 class IFDE_XMLSyntaxParser { 204 class IFDE_XMLSyntaxParser {
205 public: 205 public:
206 static IFDE_XMLSyntaxParser* Create(); 206 static IFDE_XMLSyntaxParser* Create();
207 virtual ~IFDE_XMLSyntaxParser() {} 207 virtual ~IFDE_XMLSyntaxParser() {}
208 virtual void Release() = 0; 208 virtual void Release() = 0;
209 virtual void Init(IFX_Stream* pStream, 209 virtual void Init(IFX_Stream* pStream,
210 int32_t iXMLPlaneSize, 210 int32_t iXMLPlaneSize,
211 int32_t iTextDataSize = 256) = 0; 211 int32_t iTextDataSize = 256) = 0;
212 virtual FX_DWORD DoSyntaxParse() = 0; 212 virtual uint32_t DoSyntaxParse() = 0;
213 virtual int32_t GetStatus() const = 0; 213 virtual int32_t GetStatus() const = 0;
214 virtual int32_t GetCurrentPos() const = 0; 214 virtual int32_t GetCurrentPos() const = 0;
215 virtual FX_FILESIZE GetCurrentBinaryPos() const = 0; 215 virtual FX_FILESIZE GetCurrentBinaryPos() const = 0;
216 virtual int32_t GetCurrentNodeNumber() const = 0; 216 virtual int32_t GetCurrentNodeNumber() const = 0;
217 virtual int32_t GetLastNodeNumber() const = 0; 217 virtual int32_t GetLastNodeNumber() const = 0;
218 virtual void GetTargetName(CFX_WideString& wsTarget) const = 0; 218 virtual void GetTargetName(CFX_WideString& wsTarget) const = 0;
219 virtual void GetTagName(CFX_WideString& wsTag) const = 0; 219 virtual void GetTagName(CFX_WideString& wsTag) const = 0;
220 virtual void GetAttributeName(CFX_WideString& wsAttriName) const = 0; 220 virtual void GetAttributeName(CFX_WideString& wsAttriName) const = 0;
221 virtual void GetAttributeValue(CFX_WideString& wsAttriValue) const = 0; 221 virtual void GetAttributeValue(CFX_WideString& wsAttriValue) const = 0;
222 virtual void GetTextData(CFX_WideString& wsText) const = 0; 222 virtual void GetTextData(CFX_WideString& wsText) const = 0;
223 virtual void GetTargetData(CFX_WideString& wsData) const = 0; 223 virtual void GetTargetData(CFX_WideString& wsData) const = 0;
224 }; 224 };
225 225
226 #endif // XFA_FDE_XML_FDE_XML_H_ 226 #endif // XFA_FDE_XML_FDE_XML_H_
OLDNEW
« no previous file with comments | « xfa/fde/tto/fde_textout.h ('k') | xfa/fde/xml/fde_xml_imp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698