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

Side by Side Diff: xfa/fxfa/parser/xfa_document_serialize.h

Issue 2164663004: Split xfa_document_serialize into class files (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa_parser_III
Patch Set: Review fixes Created 4 years, 5 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/parser/cxfa_dataimporter.cpp ('k') | xfa/fxfa/parser/xfa_document_serialize.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef XFA_FXFA_PARSER_XFA_DOCUMENT_SERIALIZE_H_
8 #define XFA_FXFA_PARSER_XFA_DOCUMENT_SERIALIZE_H_
9
10 #include "core/fxcrt/include/fx_string.h"
11
12 class CXFA_Document;
13 class CXFA_Node;
14 class IFX_FileRead;
15 class IFX_FileWrite;
16 class IFX_Stream;
17
18 class CXFA_DataImporter {
19 public:
20 explicit CXFA_DataImporter(CXFA_Document* pDocument);
21
22 FX_BOOL ImportData(IFX_FileRead* pDataDocument);
23
24 protected:
25 CXFA_Document* const m_pDocument;
26 };
27
28 class CXFA_DataExporter {
29 public:
30 explicit CXFA_DataExporter(CXFA_Document* pDocument);
31
32 FX_BOOL Export(IFX_FileWrite* pWrite);
33 FX_BOOL Export(IFX_FileWrite* pWrite,
34 CXFA_Node* pNode,
35 uint32_t dwFlag = 0,
36 const FX_CHAR* pChecksum = nullptr);
37
38 protected:
39 FX_BOOL Export(IFX_Stream* pStream,
40 CXFA_Node* pNode,
41 uint32_t dwFlag,
42 const FX_CHAR* pChecksum);
43
44 CXFA_Document* const m_pDocument;
45 };
46
47 #endif // XFA_FXFA_PARSER_XFA_DOCUMENT_SERIALIZE_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/cxfa_dataimporter.cpp ('k') | xfa/fxfa/parser/xfa_document_serialize.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698