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 CORE_FXCRT_XML_INT_H_ | 7 #ifndef CORE_FXCRT_XML_INT_H_ |
8 #define CORE_FXCRT_XML_INT_H_ | 8 #define CORE_FXCRT_XML_INT_H_ |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
11 | 11 |
12 #include "core/fxcrt/include/fx_stream.h" | 12 #include "core/fxcrt/fx_stream.h" |
13 | 13 |
14 class CFX_UTF8Decoder; | 14 class CFX_UTF8Decoder; |
15 class CXML_Element; | 15 class CXML_Element; |
16 | 16 |
17 class CXML_DataBufAcc : public IFX_BufferRead { | 17 class CXML_DataBufAcc : public IFX_BufferRead { |
18 public: | 18 public: |
19 CXML_DataBufAcc(const uint8_t* pBuffer, size_t size); | 19 CXML_DataBufAcc(const uint8_t* pBuffer, size_t size); |
20 ~CXML_DataBufAcc() override; | 20 ~CXML_DataBufAcc() override; |
21 | 21 |
22 // IFX_BufferRead | 22 // IFX_BufferRead |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 size_t m_dwBufferSize; | 92 size_t m_dwBufferSize; |
93 FX_FILESIZE m_nBufferOffset; | 93 FX_FILESIZE m_nBufferOffset; |
94 size_t m_dwIndex; | 94 size_t m_dwIndex; |
95 }; | 95 }; |
96 | 96 |
97 void FX_XML_SplitQualifiedName(const CFX_ByteStringC& bsFullName, | 97 void FX_XML_SplitQualifiedName(const CFX_ByteStringC& bsFullName, |
98 CFX_ByteStringC& bsSpace, | 98 CFX_ByteStringC& bsSpace, |
99 CFX_ByteStringC& bsName); | 99 CFX_ByteStringC& bsName); |
100 | 100 |
101 #endif // CORE_FXCRT_XML_INT_H_ | 101 #endif // CORE_FXCRT_XML_INT_H_ |
OLD | NEW |