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_FGAS_XML_FGAS_SAX_H_ | 7 #ifndef XFA_FGAS_XML_FGAS_SAX_H_ |
8 #define XFA_SRC_FGAS_XML_FGAS_SAX_H_ | 8 #define XFA_FGAS_XML_FGAS_SAX_H_ |
9 | 9 |
10 #include "core/include/fxcrt/fx_basic.h" | 10 #include "core/include/fxcrt/fx_basic.h" |
11 | 11 |
12 #define FX_SAXPARSEMODE_NotConvert_amp 0x0001 | 12 #define FX_SAXPARSEMODE_NotConvert_amp 0x0001 |
13 #define FX_SAXPARSEMODE_NotConvert_lt 0x0002 | 13 #define FX_SAXPARSEMODE_NotConvert_lt 0x0002 |
14 #define FX_SAXPARSEMODE_NotConvert_gt 0x0004 | 14 #define FX_SAXPARSEMODE_NotConvert_gt 0x0004 |
15 #define FX_SAXPARSEMODE_NotConvert_apos 0x0008 | 15 #define FX_SAXPARSEMODE_NotConvert_apos 0x0008 |
16 #define FX_SAXPARSEMODE_NotConvert_quot 0x0010 | 16 #define FX_SAXPARSEMODE_NotConvert_quot 0x0010 |
17 #define FX_SAXPARSEMODE_NotConvert_sharp 0x0020 | 17 #define FX_SAXPARSEMODE_NotConvert_sharp 0x0020 |
18 #define FX_SAXPARSEMODE_NotSkipSpace 0x0100 | 18 #define FX_SAXPARSEMODE_NotSkipSpace 0x0100 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 virtual int32_t StartParse(IFX_FileRead* pFile, | 58 virtual int32_t StartParse(IFX_FileRead* pFile, |
59 FX_DWORD dwStart = 0, | 59 FX_DWORD dwStart = 0, |
60 FX_DWORD dwLen = -1, | 60 FX_DWORD dwLen = -1, |
61 FX_DWORD dwParseMode = 0) = 0; | 61 FX_DWORD dwParseMode = 0) = 0; |
62 virtual int32_t ContinueParse(IFX_Pause* pPause = NULL) = 0; | 62 virtual int32_t ContinueParse(IFX_Pause* pPause = NULL) = 0; |
63 virtual void SkipCurrentNode() = 0; | 63 virtual void SkipCurrentNode() = 0; |
64 virtual void SetHandler(IFX_SAXReaderHandler* pHandler) = 0; | 64 virtual void SetHandler(IFX_SAXReaderHandler* pHandler) = 0; |
65 }; | 65 }; |
66 IFX_SAXReader* FX_SAXReader_Create(); | 66 IFX_SAXReader* FX_SAXReader_Create(); |
67 | 67 |
68 #endif // XFA_SRC_FGAS_XML_FGAS_SAX_H_ | 68 #endif // XFA_FGAS_XML_FGAS_SAX_H_ |
OLD | NEW |