OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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/fxfa/parser/cxfa_simple_parser.h" | 7 #include "xfa/fxfa/parser/cxfa_simple_parser.h" |
8 | 8 |
9 #include "core/fxcrt/include/fx_ext.h" | 9 #include "core/fxcrt/fx_ext.h" |
10 #include "xfa/fgas/crt/fgas_codepage.h" | 10 #include "xfa/fgas/crt/fgas_codepage.h" |
11 #include "xfa/fxfa/include/fxfa.h" | 11 #include "xfa/fxfa/include/fxfa.h" |
12 #include "xfa/fxfa/include/xfa_checksum.h" | 12 #include "xfa/fxfa/include/xfa_checksum.h" |
13 #include "xfa/fxfa/parser/cxfa_document.h" | 13 #include "xfa/fxfa/parser/cxfa_document.h" |
14 #include "xfa/fxfa/parser/cxfa_widetextread.h" | 14 #include "xfa/fxfa/parser/cxfa_widetextread.h" |
15 #include "xfa/fxfa/parser/cxfa_xml_parser.h" | 15 #include "xfa/fxfa/parser/cxfa_xml_parser.h" |
16 #include "xfa/fxfa/parser/xfa_basic_data.h" | 16 #include "xfa/fxfa/parser/xfa_basic_data.h" |
17 #include "xfa/fxfa/parser/xfa_utils.h" | 17 #include "xfa/fxfa/parser/xfa_utils.h" |
18 | 18 |
19 namespace { | 19 namespace { |
(...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1300 pXFANode->GetDocument()->SetFlag(XFA_DOCFLAG_StrictScoping, TRUE); | 1300 pXFANode->GetDocument()->SetFlag(XFA_DOCFLAG_StrictScoping, TRUE); |
1301 } | 1301 } |
1302 } | 1302 } |
1303 } | 1303 } |
1304 } | 1304 } |
1305 | 1305 |
1306 void CXFA_SimpleParser::CloseParser() { | 1306 void CXFA_SimpleParser::CloseParser() { |
1307 m_pXMLDoc.reset(); | 1307 m_pXMLDoc.reset(); |
1308 m_pStream.reset(); | 1308 m_pStream.reset(); |
1309 } | 1309 } |
OLD | NEW |