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_XRefStream; | 13 class CPDF_XRefStream; |
| 14 class IPDF_CryptoHandler; |
14 | 15 |
15 CFX_ByteTextBuf& operator<<(CFX_ByteTextBuf& buf, const CPDF_Object* pObj); | 16 CFX_ByteTextBuf& operator<<(CFX_ByteTextBuf& buf, const CPDF_Object* pObj); |
16 | 17 |
17 #define FPDFCREATE_INCREMENTAL 1 | 18 #define FPDFCREATE_INCREMENTAL 1 |
18 #define FPDFCREATE_NO_ORIGINAL 2 | 19 #define FPDFCREATE_NO_ORIGINAL 2 |
19 #define FPDFCREATE_PROGRESSIVE 4 | 20 #define FPDFCREATE_PROGRESSIVE 4 |
20 #define FPDFCREATE_OBJECTSTREAM 8 | 21 #define FPDFCREATE_OBJECTSTREAM 8 |
21 | 22 |
22 class CPDF_Creator { | 23 class CPDF_Creator { |
23 public: | 24 public: |
(...skipping 71 matching lines...) Loading... |
95 CFX_FileSizeListArray m_ObjectOffset; | 96 CFX_FileSizeListArray m_ObjectOffset; |
96 CFX_DWordArray m_NewObjNumArray; | 97 CFX_DWordArray m_NewObjNumArray; |
97 CPDF_Array* m_pIDArray; | 98 CPDF_Array* m_pIDArray; |
98 int32_t m_FileVersion; | 99 int32_t m_FileVersion; |
99 | 100 |
100 friend class CPDF_ObjectStream; | 101 friend class CPDF_ObjectStream; |
101 friend class CPDF_XRefStream; | 102 friend class CPDF_XRefStream; |
102 }; | 103 }; |
103 | 104 |
104 #endif // CORE_INCLUDE_FPDFAPI_FPDF_SERIAL_H_ | 105 #endif // CORE_INCLUDE_FPDFAPI_FPDF_SERIAL_H_ |
OLD | NEW |