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_FPDF_EDIT_INCLUDE_CPDF_CREATOR_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_EDIT_INCLUDE_CPDF_CREATOR_H_ |
8 #define CORE_FPDFAPI_FPDF_EDIT_INCLUDE_CPDF_CREATOR_H_ | 8 #define CORE_FPDFAPI_FPDF_EDIT_INCLUDE_CPDF_CREATOR_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 uint32_t objnum, | 73 uint32_t objnum, |
74 CPDF_CryptoHandler* pCrypto); | 74 CPDF_CryptoHandler* pCrypto); |
75 | 75 |
76 CPDF_Document* const m_pDocument; | 76 CPDF_Document* const m_pDocument; |
77 CPDF_Parser* const m_pParser; | 77 CPDF_Parser* const m_pParser; |
78 FX_BOOL m_bSecurityChanged; | 78 FX_BOOL m_bSecurityChanged; |
79 CPDF_Dictionary* m_pEncryptDict; | 79 CPDF_Dictionary* m_pEncryptDict; |
80 uint32_t m_dwEncryptObjNum; | 80 uint32_t m_dwEncryptObjNum; |
81 FX_BOOL m_bEncryptCloned; | 81 FX_BOOL m_bEncryptCloned; |
82 CPDF_CryptoHandler* m_pCryptoHandler; | 82 CPDF_CryptoHandler* m_pCryptoHandler; |
| 83 FX_BOOL m_bLocalCryptoHandler; |
83 CPDF_Object* m_pMetadata; | 84 CPDF_Object* m_pMetadata; |
84 std::unique_ptr<CPDF_XRefStream> m_pXRefStream; | 85 std::unique_ptr<CPDF_XRefStream> m_pXRefStream; |
85 int32_t m_ObjectStreamSize; | 86 int32_t m_ObjectStreamSize; |
86 uint32_t m_dwLastObjNum; | 87 uint32_t m_dwLastObjNum; |
87 CFX_FileBufferArchive m_File; | 88 CFX_FileBufferArchive m_File; |
88 FX_FILESIZE m_Offset; | 89 FX_FILESIZE m_Offset; |
89 int32_t m_iStage; | 90 int32_t m_iStage; |
90 uint32_t m_dwFlags; | 91 uint32_t m_dwFlags; |
91 FX_POSITION m_Pos; | 92 FX_POSITION m_Pos; |
92 FX_FILESIZE m_XrefStart; | 93 FX_FILESIZE m_XrefStart; |
93 CFX_FileSizeListArray m_ObjectOffset; | 94 CFX_FileSizeListArray m_ObjectOffset; |
94 CFX_ArrayTemplate<uint32_t> m_NewObjNumArray; | 95 CFX_ArrayTemplate<uint32_t> m_NewObjNumArray; |
95 CPDF_Array* m_pIDArray; | 96 CPDF_Array* m_pIDArray; |
96 int32_t m_FileVersion; | 97 int32_t m_FileVersion; |
97 }; | 98 }; |
98 | 99 |
99 #endif // CORE_FPDFAPI_FPDF_EDIT_INCLUDE_CPDF_CREATOR_H_ | 100 #endif // CORE_FPDFAPI_FPDF_EDIT_INCLUDE_CPDF_CREATOR_H_ |
OLD | NEW |