| OLD | NEW |
| 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_DOCUMENT_SERIALIZE_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_DOCUMENT_SERIALIZE_H_ |
| 8 #define XFA_FXFA_PARSER_XFA_DOCUMENT_SERIALIZE_H_ | 8 #define XFA_FXFA_PARSER_XFA_DOCUMENT_SERIALIZE_H_ |
| 9 | 9 |
| 10 #include "xfa/fxfa/parser/xfa_docdata.h" | 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; |
| 11 | 17 |
| 12 class CXFA_DataImporter { | 18 class CXFA_DataImporter { |
| 13 public: | 19 public: |
| 14 explicit CXFA_DataImporter(CXFA_Document* pDocument); | 20 explicit CXFA_DataImporter(CXFA_Document* pDocument); |
| 15 | 21 |
| 16 void Release() { delete this; } | 22 void Release() { delete this; } |
| 17 FX_BOOL ImportData(IFX_FileRead* pDataDocument); | 23 FX_BOOL ImportData(IFX_FileRead* pDataDocument); |
| 18 | 24 |
| 19 protected: | 25 protected: |
| 20 CXFA_Document* const m_pDocument; | 26 CXFA_Document* const m_pDocument; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 33 | 39 |
| 34 protected: | 40 protected: |
| 35 FX_BOOL Export(IFX_Stream* pStream, | 41 FX_BOOL Export(IFX_Stream* pStream, |
| 36 CXFA_Node* pNode, | 42 CXFA_Node* pNode, |
| 37 uint32_t dwFlag, | 43 uint32_t dwFlag, |
| 38 const FX_CHAR* pChecksum); | 44 const FX_CHAR* pChecksum); |
| 39 CXFA_Document* const m_pDocument; | 45 CXFA_Document* const m_pDocument; |
| 40 }; | 46 }; |
| 41 | 47 |
| 42 #endif // XFA_FXFA_PARSER_XFA_DOCUMENT_SERIALIZE_H_ | 48 #endif // XFA_FXFA_PARSER_XFA_DOCUMENT_SERIALIZE_H_ |
| OLD | NEW |