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

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

Issue 1835703002: Remove FX_DWORD from XFA, part 2 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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/xfa_basic_imp.h ('k') | xfa/fxfa/parser/xfa_doclayout.h » ('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 #ifndef XFA_FXFA_PARSER_XFA_DOCDATA_H_ 7 #ifndef XFA_FXFA_PARSER_XFA_DOCDATA_H_
8 #define XFA_FXFA_PARSER_XFA_DOCDATA_H_ 8 #define XFA_FXFA_PARSER_XFA_DOCDATA_H_
9 9
10 #include "xfa/fxfa/parser/xfa_document.h" 10 #include "xfa/fxfa/parser/xfa_document.h"
11 11
12 enum XFA_DATAFORMAT { 12 enum XFA_DATAFORMAT {
13 XFA_DATAFORMAT_XDP, 13 XFA_DATAFORMAT_XDP,
14 }; 14 };
15 15
16 class IXFA_PacketExport { 16 class IXFA_PacketExport {
17 public: 17 public:
18 static IXFA_PacketExport* Create(CXFA_Document* pDocument, 18 static IXFA_PacketExport* Create(CXFA_Document* pDocument,
19 XFA_DATAFORMAT eFormat = XFA_DATAFORMAT_XDP); 19 XFA_DATAFORMAT eFormat = XFA_DATAFORMAT_XDP);
20 virtual ~IXFA_PacketExport() {} 20 virtual ~IXFA_PacketExport() {}
21 virtual void Release() = 0; 21 virtual void Release() = 0;
22 virtual FX_BOOL Export(IFX_FileWrite* pWrite) = 0; 22 virtual FX_BOOL Export(IFX_FileWrite* pWrite) = 0;
23 virtual FX_BOOL Export(IFX_FileWrite* pWrite, 23 virtual FX_BOOL Export(IFX_FileWrite* pWrite,
24 CXFA_Node* pNode, 24 CXFA_Node* pNode,
25 FX_DWORD dwFlag = 0, 25 uint32_t dwFlag = 0,
26 const FX_CHAR* pChecksum = NULL) = 0; 26 const FX_CHAR* pChecksum = NULL) = 0;
27 }; 27 };
28 class IXFA_PacketImport { 28 class IXFA_PacketImport {
29 public: 29 public:
30 static IXFA_PacketImport* Create(CXFA_Document* pDstDoc); 30 static IXFA_PacketImport* Create(CXFA_Document* pDstDoc);
31 virtual ~IXFA_PacketImport() {} 31 virtual ~IXFA_PacketImport() {}
32 virtual void Release() = 0; 32 virtual void Release() = 0;
33 virtual FX_BOOL ImportData(IFX_FileRead* pDataDocument) = 0; 33 virtual FX_BOOL ImportData(IFX_FileRead* pDataDocument) = 0;
34 }; 34 };
35 35
36 #endif // XFA_FXFA_PARSER_XFA_DOCDATA_H_ 36 #endif // XFA_FXFA_PARSER_XFA_DOCDATA_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_basic_imp.h ('k') | xfa/fxfa/parser/xfa_doclayout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698