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 CORE_INCLUDE_FPDFAPI_FPDF_SERIAL_H_ | 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_SERIAL_H_ |
8 #define CORE_INCLUDE_FPDFAPI_FPDF_SERIAL_H_ | 8 #define CORE_INCLUDE_FPDFAPI_FPDF_SERIAL_H_ |
9 | 9 |
10 #include "core/include/fpdfapi/fpdf_page.h" | 10 #include "core/include/fpdfapi/fpdf_page.h" |
11 #include "core/include/fpdfapi/fpdf_pageobj.h" | 11 #include "core/include/fpdfapi/fpdf_pageobj.h" |
12 | 12 |
13 class CPDF_ObjectStream; | |
14 class CPDF_XRefStream; | 13 class CPDF_XRefStream; |
15 | 14 |
16 CFX_ByteTextBuf& operator<<(CFX_ByteTextBuf& buf, const CPDF_Object* pObj); | 15 CFX_ByteTextBuf& operator<<(CFX_ByteTextBuf& buf, const CPDF_Object* pObj); |
17 | 16 |
18 #define FPDFCREATE_INCREMENTAL 1 | 17 #define FPDFCREATE_INCREMENTAL 1 |
19 #define FPDFCREATE_NO_ORIGINAL 2 | 18 #define FPDFCREATE_NO_ORIGINAL 2 |
20 #define FPDFCREATE_PROGRESSIVE 4 | 19 #define FPDFCREATE_PROGRESSIVE 4 |
21 #define FPDFCREATE_OBJECTSTREAM 8 | 20 #define FPDFCREATE_OBJECTSTREAM 8 |
22 | 21 |
23 class CPDF_Creator { | 22 class CPDF_Creator { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 CFX_FileSizeListArray m_ObjectOffset; | 95 CFX_FileSizeListArray m_ObjectOffset; |
97 CFX_DWordArray m_NewObjNumArray; | 96 CFX_DWordArray m_NewObjNumArray; |
98 CPDF_Array* m_pIDArray; | 97 CPDF_Array* m_pIDArray; |
99 int32_t m_FileVersion; | 98 int32_t m_FileVersion; |
100 | 99 |
101 friend class CPDF_ObjectStream; | 100 friend class CPDF_ObjectStream; |
102 friend class CPDF_XRefStream; | 101 friend class CPDF_XRefStream; |
103 }; | 102 }; |
104 | 103 |
105 #endif // CORE_INCLUDE_FPDFAPI_FPDF_SERIAL_H_ | 104 #endif // CORE_INCLUDE_FPDFAPI_FPDF_SERIAL_H_ |
OLD | NEW |