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_FDP_INCLUDE_FDE_XML_H_ | 7 #ifndef XFA_SRC_FDP_INCLUDE_FDE_XML_H_ |
8 #define XFA_SRC_FDP_INCLUDE_FDE_XML_H_ | 8 #define XFA_SRC_FDP_INCLUDE_FDE_XML_H_ |
9 | 9 |
| 10 #include "xfa/src/fgas/include/fx_stm.h" |
| 11 #include "xfa/src/fgas/include/fx_utl.h" |
| 12 |
10 class IFDE_XMLNode; | 13 class IFDE_XMLNode; |
11 class IFDE_XMLInstruction; | 14 class IFDE_XMLInstruction; |
12 class IFDE_XMLDeclaration; | 15 class IFDE_XMLDeclaration; |
13 class IFDE_XMLDeclComment; | 16 class IFDE_XMLDeclComment; |
14 class IFDE_XMLDeclCharData; | 17 class IFDE_XMLDeclCharData; |
15 class IFDE_XMLDeclDocType; | 18 class IFDE_XMLDeclDocType; |
16 class IFDE_XMLDeclElement; | 19 class IFDE_XMLDeclElement; |
17 class IFDE_XMLDeclAttriList; | 20 class IFDE_XMLDeclAttriList; |
18 class IFDE_XMLDeclNotition; | 21 class IFDE_XMLDeclNotition; |
19 class IFDE_XMLDeclEntity; | 22 class IFDE_XMLDeclEntity; |
20 class IFDE_XMLElement; | 23 class IFDE_XMLElement; |
21 class IFDE_XMLText; | 24 class IFDE_XMLText; |
22 class IFDE_XMLDoc; | 25 class IFDE_XMLDoc; |
23 class IFDE_XMLParser; | 26 class IFDE_XMLParser; |
24 class IFDE_XMLSyntaxParser; | 27 class IFDE_XMLSyntaxParser; |
| 28 |
25 #ifdef __cplusplus | 29 #ifdef __cplusplus |
26 extern "C" { | 30 extern "C" { |
27 #endif | 31 #endif |
28 enum FDE_XMLNODETYPE { | 32 enum FDE_XMLNODETYPE { |
29 FDE_XMLNODE_Unknown = 0, | 33 FDE_XMLNODE_Unknown = 0, |
30 FDE_XMLNODE_Instruction, | 34 FDE_XMLNODE_Instruction, |
31 FDE_XMLNODE_Element, | 35 FDE_XMLNODE_Element, |
32 FDE_XMLNODE_Text, | 36 FDE_XMLNODE_Text, |
33 FDE_XMLNODE_CharData, | 37 FDE_XMLNODE_CharData, |
34 }; | 38 }; |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 virtual int32_t GetLastNodeNumber() const = 0; | 228 virtual int32_t GetLastNodeNumber() const = 0; |
225 virtual void GetTargetName(CFX_WideString& wsTarget) const = 0; | 229 virtual void GetTargetName(CFX_WideString& wsTarget) const = 0; |
226 virtual void GetTagName(CFX_WideString& wsTag) const = 0; | 230 virtual void GetTagName(CFX_WideString& wsTag) const = 0; |
227 virtual void GetAttributeName(CFX_WideString& wsAttriName) const = 0; | 231 virtual void GetAttributeName(CFX_WideString& wsAttriName) const = 0; |
228 virtual void GetAttributeValue(CFX_WideString& wsAttriValue) const = 0; | 232 virtual void GetAttributeValue(CFX_WideString& wsAttriValue) const = 0; |
229 virtual void GetTextData(CFX_WideString& wsText) const = 0; | 233 virtual void GetTextData(CFX_WideString& wsText) const = 0; |
230 virtual void GetTargetData(CFX_WideString& wsData) const = 0; | 234 virtual void GetTargetData(CFX_WideString& wsData) const = 0; |
231 }; | 235 }; |
232 | 236 |
233 #endif // XFA_SRC_FDP_INCLUDE_FDE_XML_H_ | 237 #endif // XFA_SRC_FDP_INCLUDE_FDE_XML_H_ |
OLD | NEW |