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 #include "xfa/src/fgas/src/xml/fx_sax_imp.h" |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 | 10 |
9 #include "xfa/src/fgas/src/fgas_base.h" | |
10 #include "xfa/src/fgas/src/xml/fx_sax_imp.h" | |
11 | |
12 namespace { | 11 namespace { |
13 | 12 |
14 const FX_DWORD kSaxFileBufSize = 32768; | 13 const FX_DWORD kSaxFileBufSize = 32768; |
15 | 14 |
16 } // namespace | 15 } // namespace |
17 | 16 |
18 IFX_SAXReader* FX_SAXReader_Create() { | 17 IFX_SAXReader* FX_SAXReader_Create() { |
19 return new CFX_SAXReader; | 18 return new CFX_SAXReader; |
20 } | 19 } |
21 CFX_SAXFile::CFX_SAXFile() | 20 CFX_SAXFile::CFX_SAXFile() |
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 } | 679 } |
681 void CFX_SAXReader::SkipCurrentNode() { | 680 void CFX_SAXReader::SkipCurrentNode() { |
682 if (!m_pCurItem) { | 681 if (!m_pCurItem) { |
683 return; | 682 return; |
684 } | 683 } |
685 m_pCurItem->m_bSkip = TRUE; | 684 m_pCurItem->m_bSkip = TRUE; |
686 } | 685 } |
687 void CFX_SAXReader::SetHandler(IFX_SAXReaderHandler* pHandler) { | 686 void CFX_SAXReader::SetHandler(IFX_SAXReaderHandler* pHandler) { |
688 m_pHandler = pHandler; | 687 m_pHandler = pHandler; |
689 } | 688 } |
OLD | NEW |