| 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 #ifndef XFA_FXFA_PARSER_CXFA_DATAEXPORTER_H_ | 7 #ifndef XFA_FXFA_PARSER_CXFA_DATAEXPORTER_H_ | 
| 8 #define XFA_FXFA_PARSER_CXFA_DATAEXPORTER_H_ | 8 #define XFA_FXFA_PARSER_CXFA_DATAEXPORTER_H_ | 
| 9 | 9 | 
| 10 #include "core/fxcrt/fx_string.h" | 10 #include "core/fxcrt/fx_string.h" | 
| 11 | 11 | 
| 12 class CXFA_Document; | 12 class CXFA_Document; | 
| 13 class CXFA_Node; | 13 class CXFA_Node; | 
| 14 class IFX_FileWrite; | 14 class IFX_SeekableWriteStream; | 
| 15 class IFX_Stream; | 15 class IFX_Stream; | 
| 16 | 16 | 
| 17 class CXFA_DataExporter { | 17 class CXFA_DataExporter { | 
| 18  public: | 18  public: | 
| 19   explicit CXFA_DataExporter(CXFA_Document* pDocument); | 19   explicit CXFA_DataExporter(CXFA_Document* pDocument); | 
| 20 | 20 | 
| 21   FX_BOOL Export(IFX_FileWrite* pWrite); | 21   FX_BOOL Export(IFX_SeekableWriteStream* pWrite); | 
| 22   FX_BOOL Export(IFX_FileWrite* pWrite, | 22   FX_BOOL Export(IFX_SeekableWriteStream* pWrite, | 
| 23                  CXFA_Node* pNode, | 23                  CXFA_Node* pNode, | 
| 24                  uint32_t dwFlag, | 24                  uint32_t dwFlag, | 
| 25                  const FX_CHAR* pChecksum); | 25                  const FX_CHAR* pChecksum); | 
| 26 | 26 | 
| 27  protected: | 27  protected: | 
| 28   FX_BOOL Export(IFX_Stream* pStream, | 28   FX_BOOL Export(IFX_Stream* pStream, | 
| 29                  CXFA_Node* pNode, | 29                  CXFA_Node* pNode, | 
| 30                  uint32_t dwFlag, | 30                  uint32_t dwFlag, | 
| 31                  const FX_CHAR* pChecksum); | 31                  const FX_CHAR* pChecksum); | 
| 32 | 32 | 
| 33   CXFA_Document* const m_pDocument; | 33   CXFA_Document* const m_pDocument; | 
| 34 }; | 34 }; | 
| 35 | 35 | 
| 36 #endif  // XFA_FXFA_PARSER_CXFA_DATAEXPORTER_H_ | 36 #endif  // XFA_FXFA_PARSER_CXFA_DATAEXPORTER_H_ | 
| OLD | NEW | 
|---|