Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Side by Side Diff: core/fpdfapi/edit/cpdf_creator.h

Issue 2443723002: Rename IFX_ stream names (Closed)
Patch Set: Nits Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | core/fpdfapi/edit/fpdf_edit_create.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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>
(...skipping 14 matching lines...) Expand all
25 #define FPDFCREATE_OBJECTSTREAM 8 25 #define FPDFCREATE_OBJECTSTREAM 8
26 26
27 CFX_ByteTextBuf& operator<<(CFX_ByteTextBuf& buf, const CPDF_Object* pObj); 27 CFX_ByteTextBuf& operator<<(CFX_ByteTextBuf& buf, const CPDF_Object* pObj);
28 28
29 class CPDF_Creator { 29 class CPDF_Creator {
30 public: 30 public:
31 explicit CPDF_Creator(CPDF_Document* pDoc); 31 explicit CPDF_Creator(CPDF_Document* pDoc);
32 ~CPDF_Creator(); 32 ~CPDF_Creator();
33 33
34 void RemoveSecurity(); 34 void RemoveSecurity();
35 bool Create(IFX_StreamWrite* pFile, uint32_t flags = 0); 35 bool Create(IFX_WriteStream* pFile, uint32_t flags = 0);
36 int32_t Continue(IFX_Pause* pPause = nullptr); 36 int32_t Continue(IFX_Pause* pPause = nullptr);
37 FX_BOOL SetFileVersion(int32_t fileVersion = 17); 37 FX_BOOL SetFileVersion(int32_t fileVersion = 17);
38 38
39 private: 39 private:
40 friend class CPDF_ObjectStream; 40 friend class CPDF_ObjectStream;
41 friend class CPDF_XRefStream; 41 friend class CPDF_XRefStream;
42 42
43 bool Create(uint32_t flags); 43 bool Create(uint32_t flags);
44 void ResetStandardSecurity(); 44 void ResetStandardSecurity();
45 void Clear(); 45 void Clear();
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 uint32_t m_dwFlags; 92 uint32_t m_dwFlags;
93 FX_POSITION m_Pos; 93 FX_POSITION m_Pos;
94 FX_FILESIZE m_XrefStart; 94 FX_FILESIZE m_XrefStart;
95 CFX_FileSizeListArray m_ObjectOffset; 95 CFX_FileSizeListArray m_ObjectOffset;
96 CFX_ArrayTemplate<uint32_t> m_NewObjNumArray; 96 CFX_ArrayTemplate<uint32_t> m_NewObjNumArray;
97 std::unique_ptr<CPDF_Array, ReleaseDeleter<CPDF_Array>> m_pIDArray; 97 std::unique_ptr<CPDF_Array, ReleaseDeleter<CPDF_Array>> m_pIDArray;
98 int32_t m_FileVersion; 98 int32_t m_FileVersion;
99 }; 99 };
100 100
101 #endif // CORE_FPDFAPI_EDIT_CPDF_CREATOR_H_ 101 #endif // CORE_FPDFAPI_EDIT_CPDF_CREATOR_H_
OLDNEW
« no previous file with comments | « no previous file | core/fpdfapi/edit/fpdf_edit_create.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698