Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Side by Side Diff: xfa/fxfa/app/xfa_ffdoc.cpp

Issue 1921853006: More FWL interface cleanup. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fxfa/app/xfa_ffchoicelist.cpp ('k') | xfa/fxfa/app/xfa_fffield.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/fxfa/include/xfa_ffdoc.h" 7 #include "xfa/fxfa/include/xfa_ffdoc.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" 11 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h"
12 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" 12 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h"
13 #include "core/fpdfdoc/include/fpdf_doc.h" 13 #include "core/fpdfdoc/include/fpdf_doc.h"
14 #include "core/fxcrt/include/fx_ext.h" 14 #include "core/fxcrt/include/fx_ext.h"
15 #include "core/fxcrt/include/fx_memory.h" 15 #include "core/fxcrt/include/fx_memory.h"
16 #include "xfa/fde/xml/fde_xml_imp.h" 16 #include "xfa/fde/xml/fde_xml_imp.h"
17 #include "xfa/fgas/crt/fgas_algorithm.h" 17 #include "xfa/fgas/crt/fgas_algorithm.h"
18 #include "xfa/fwl/core/ifwl_notedriver.h" 18 #include "xfa/fwl/core/fwl_noteimp.h"
19 #include "xfa/fxfa/app/xfa_ffnotify.h" 19 #include "xfa/fxfa/app/xfa_ffnotify.h"
20 #include "xfa/fxfa/include/xfa_checksum.h" 20 #include "xfa/fxfa/include/xfa_checksum.h"
21 #include "xfa/fxfa/include/xfa_ffapp.h" 21 #include "xfa/fxfa/include/xfa_ffapp.h"
22 #include "xfa/fxfa/include/xfa_ffdocview.h" 22 #include "xfa/fxfa/include/xfa_ffdocview.h"
23 #include "xfa/fxfa/include/xfa_ffwidget.h" 23 #include "xfa/fxfa/include/xfa_ffwidget.h"
24 #include "xfa/fxfa/include/xfa_fontmgr.h" 24 #include "xfa/fxfa/include/xfa_fontmgr.h"
25 #include "xfa/fxfa/parser/xfa_document.h" 25 #include "xfa/fxfa/parser/xfa_document.h"
26 #include "xfa/fxfa/parser/xfa_document_serialize.h" 26 #include "xfa/fxfa/parser/xfa_document_serialize.h"
27 #include "xfa/fxfa/parser/xfa_parser.h" 27 #include "xfa/fxfa/parser/xfa_parser.h"
28 #include "xfa/fxfa/parser/xfa_parser_imp.h" 28 #include "xfa/fxfa/parser/xfa_parser_imp.h"
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 } 386 }
387 pExport->Release(); 387 pExport->Release();
388 return bFlags; 388 return bFlags;
389 } 389 }
390 FX_BOOL CXFA_FFDoc::ImportData(IFX_FileRead* pStream, FX_BOOL bXDP) { 390 FX_BOOL CXFA_FFDoc::ImportData(IFX_FileRead* pStream, FX_BOOL bXDP) {
391 std::unique_ptr<CXFA_DataImporter, ReleaseDeleter<CXFA_DataImporter>> 391 std::unique_ptr<CXFA_DataImporter, ReleaseDeleter<CXFA_DataImporter>>
392 importer(new CXFA_DataImporter(m_pDocument)); 392 importer(new CXFA_DataImporter(m_pDocument));
393 393
394 return importer->ImportData(pStream); 394 return importer->ImportData(pStream);
395 } 395 }
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffchoicelist.cpp ('k') | xfa/fxfa/app/xfa_fffield.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698