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

Side by Side Diff: core/fpdfapi/fpdf_edit/editint.h

Issue 1832113003: Replace CFX_DWordArray with CFX_ArrayTemplate<FX_DWORD>. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Re-upload Created 4 years, 9 months 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/fpdf_edit/fpdf_edit_doc.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_FPDF_EDIT_EDITINT_H_ 7 #ifndef CORE_FPDFAPI_FPDF_EDIT_EDITINT_H_
8 #define CORE_FPDFAPI_FPDF_EDIT_EDITINT_H_ 8 #define CORE_FPDFAPI_FPDF_EDIT_EDITINT_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 11 matching lines...) Expand all
22 22
23 FX_BOOL Start(); 23 FX_BOOL Start();
24 24
25 int32_t CompressIndirectObject(FX_DWORD dwObjNum, const CPDF_Object* pObj); 25 int32_t CompressIndirectObject(FX_DWORD dwObjNum, const CPDF_Object* pObj);
26 int32_t CompressIndirectObject(FX_DWORD dwObjNum, 26 int32_t CompressIndirectObject(FX_DWORD dwObjNum,
27 const uint8_t* pBuffer, 27 const uint8_t* pBuffer,
28 FX_DWORD dwSize); 28 FX_DWORD dwSize);
29 29
30 FX_FILESIZE End(CPDF_Creator* pCreator); 30 FX_FILESIZE End(CPDF_Creator* pCreator);
31 31
32 CFX_DWordArray m_ObjNumArray; 32 CFX_ArrayTemplate<FX_DWORD> m_ObjNumArray;
33 33
34 CFX_ByteTextBuf m_Buffer; 34 CFX_ByteTextBuf m_Buffer;
35 FX_DWORD m_dwObjNum; 35 FX_DWORD m_dwObjNum;
36 int32_t m_index; 36 int32_t m_index;
37 37
38 protected: 38 protected:
39 CFX_DWordArray m_OffsetArray; 39 CFX_ArrayTemplate<FX_DWORD> m_OffsetArray;
40 }; 40 };
41 class CPDF_XRefStream { 41 class CPDF_XRefStream {
42 public: 42 public:
43 struct Index { 43 struct Index {
44 FX_DWORD objnum; 44 FX_DWORD objnum;
45 FX_DWORD count; 45 FX_DWORD count;
46 }; 46 };
47 47
48 CPDF_XRefStream(); 48 CPDF_XRefStream();
49 49
(...skipping 15 matching lines...) Expand all
65 65
66 protected: 66 protected:
67 int32_t EndObjectStream(CPDF_Creator* pCreator, FX_BOOL bEOF = TRUE); 67 int32_t EndObjectStream(CPDF_Creator* pCreator, FX_BOOL bEOF = TRUE);
68 FX_BOOL GenerateXRefStream(CPDF_Creator* pCreator, FX_BOOL bEOF); 68 FX_BOOL GenerateXRefStream(CPDF_Creator* pCreator, FX_BOOL bEOF);
69 size_t m_iSeg; 69 size_t m_iSeg;
70 CPDF_ObjectStream m_ObjStream; 70 CPDF_ObjectStream m_ObjStream;
71 CFX_ByteTextBuf m_Buffer; 71 CFX_ByteTextBuf m_Buffer;
72 }; 72 };
73 73
74 #endif // CORE_FPDFAPI_FPDF_EDIT_EDITINT_H_ 74 #endif // CORE_FPDFAPI_FPDF_EDIT_EDITINT_H_
OLDNEW
« no previous file with comments | « no previous file | core/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698