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_FPDFAPI_EDIT_CPDF_CREATOR_H_ | 7 #ifndef CORE_FPDFAPI_EDIT_CPDF_CREATOR_H_ |
8 #define CORE_FPDFAPI_EDIT_CPDF_CREATOR_H_ | 8 #define CORE_FPDFAPI_EDIT_CPDF_CREATOR_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
| 11 #include <vector> |
11 | 12 |
12 #include "core/fxcrt/cfx_retain_ptr.h" | 13 #include "core/fxcrt/cfx_retain_ptr.h" |
13 #include "core/fxcrt/fx_basic.h" | 14 #include "core/fxcrt/fx_basic.h" |
14 | 15 |
15 class CPDF_Array; | 16 class CPDF_Array; |
16 class CPDF_CryptoHandler; | 17 class CPDF_CryptoHandler; |
17 class CPDF_Dictionary; | 18 class CPDF_Dictionary; |
18 class CPDF_Document; | 19 class CPDF_Document; |
19 class CPDF_Object; | 20 class CPDF_Object; |
20 class CPDF_Parser; | 21 class CPDF_Parser; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 std::unique_ptr<CPDF_XRefStream> m_pXRefStream; | 88 std::unique_ptr<CPDF_XRefStream> m_pXRefStream; |
88 int32_t m_ObjectStreamSize; | 89 int32_t m_ObjectStreamSize; |
89 uint32_t m_dwLastObjNum; | 90 uint32_t m_dwLastObjNum; |
90 CFX_FileBufferArchive m_File; | 91 CFX_FileBufferArchive m_File; |
91 FX_FILESIZE m_Offset; | 92 FX_FILESIZE m_Offset; |
92 int32_t m_iStage; | 93 int32_t m_iStage; |
93 uint32_t m_dwFlags; | 94 uint32_t m_dwFlags; |
94 FX_POSITION m_Pos; | 95 FX_POSITION m_Pos; |
95 FX_FILESIZE m_XrefStart; | 96 FX_FILESIZE m_XrefStart; |
96 CFX_FileSizeListArray m_ObjectOffset; | 97 CFX_FileSizeListArray m_ObjectOffset; |
97 CFX_ArrayTemplate<uint32_t> m_NewObjNumArray; | 98 std::vector<uint32_t> m_NewObjNumArray; // Sorted, ascending. |
98 std::unique_ptr<CPDF_Array> m_pIDArray; | 99 std::unique_ptr<CPDF_Array> m_pIDArray; |
99 int32_t m_FileVersion; | 100 int32_t m_FileVersion; |
100 }; | 101 }; |
101 | 102 |
102 #endif // CORE_FPDFAPI_EDIT_CPDF_CREATOR_H_ | 103 #endif // CORE_FPDFAPI_EDIT_CPDF_CREATOR_H_ |
OLD | NEW |