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