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 "core/fxcrt/include/fx_string.h" | 10 #include "core/fxcrt/include/fx_string.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 }; | 26 }; |
27 | 27 |
28 class CXFA_DataExporter { | 28 class CXFA_DataExporter { |
29 public: | 29 public: |
30 explicit CXFA_DataExporter(CXFA_Document* pDocument); | 30 explicit CXFA_DataExporter(CXFA_Document* pDocument); |
31 | 31 |
32 FX_BOOL Export(IFX_FileWrite* pWrite); | 32 FX_BOOL Export(IFX_FileWrite* pWrite); |
33 FX_BOOL Export(IFX_FileWrite* pWrite, | 33 FX_BOOL Export(IFX_FileWrite* pWrite, |
34 CXFA_Node* pNode, | 34 CXFA_Node* pNode, |
35 uint32_t dwFlag = 0, | 35 uint32_t dwFlag = 0, |
36 const FX_CHAR* pChecksum = NULL); | 36 const FX_CHAR* pChecksum = nullptr); |
37 | 37 |
38 protected: | 38 protected: |
39 FX_BOOL Export(IFX_Stream* pStream, | 39 FX_BOOL Export(IFX_Stream* pStream, |
40 CXFA_Node* pNode, | 40 CXFA_Node* pNode, |
41 uint32_t dwFlag, | 41 uint32_t dwFlag, |
42 const FX_CHAR* pChecksum); | 42 const FX_CHAR* pChecksum); |
43 | 43 |
44 CXFA_Document* const m_pDocument; | 44 CXFA_Document* const m_pDocument; |
45 }; | 45 }; |
46 | 46 |
47 #endif // XFA_FXFA_PARSER_XFA_DOCUMENT_SERIALIZE_H_ | 47 #endif // XFA_FXFA_PARSER_XFA_DOCUMENT_SERIALIZE_H_ |
OLD | NEW |