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

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

Issue 1171733003: Remove typdefs for pointer types in fx_system.h (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Manual fixes. Created 5 years, 6 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
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_SRC_FPDFAPI_FPDF_EDIT_EDITINT_H_ 7 #ifndef CORE_SRC_FPDFAPI_FPDF_EDIT_EDITINT_H_
8 #define CORE_SRC_FPDFAPI_FPDF_EDIT_EDITINT_H_ 8 #define CORE_SRC_FPDFAPI_FPDF_EDIT_EDITINT_H_
9 9
10 class CPDF_ObjectStream 10 class CPDF_ObjectStream
11 { 11 {
12 public: 12 public:
13 CPDF_ObjectStream(); 13 CPDF_ObjectStream();
14 14
15 FX_BOOL Start(); 15 FX_BOOL Start();
16 16
17 int32_t CompressIndirectObject(FX_DWORD dwObjNum, const CPDF_Object *pObj); 17 int32_t CompressIndirectObject(FX_DWORD dwObjNum, const CPDF_Object *pObj);
18 int32_t» » » CompressIndirectObject(FX_DWORD dwObjNum, FX_LPC BYTE pBuffer, FX_DWORD dwSize); 18 int32_t» » » CompressIndirectObject(FX_DWORD dwObjNum, const uint8_t* pBuffer, FX_DWORD dwSize);
19 19
20 FX_FILESIZE End(CPDF_Creator* pCreator); 20 FX_FILESIZE End(CPDF_Creator* pCreator);
21 21
22 CFX_DWordArray m_ObjNumArray; 22 CFX_DWordArray m_ObjNumArray;
23 23
24 CFX_ByteTextBuf m_Buffer; 24 CFX_ByteTextBuf m_Buffer;
25 FX_DWORD m_dwObjNum; 25 FX_DWORD m_dwObjNum;
26 int32_t m_index; 26 int32_t m_index;
27 protected: 27 protected:
28 28
29 CFX_DWordArray m_OffsetArray; 29 CFX_DWordArray m_OffsetArray;
30 }; 30 };
31 class CPDF_XRefStream 31 class CPDF_XRefStream
32 { 32 {
33 public: 33 public:
34 34
35 CPDF_XRefStream(); 35 CPDF_XRefStream();
36 36
37 FX_BOOL Start(); 37 FX_BOOL Start();
38 38
39 int32_t CompressIndirectObject(FX_DWORD dwObjNum, const CPDF_Object *pObj, CPDF_Creator *pCreator); 39 int32_t CompressIndirectObject(FX_DWORD dwObjNum, const CPDF_Object *pObj, CPDF_Creator *pCreator);
40 40
41 int32_t» » » CompressIndirectObject(FX_DWORD dwObjNum, FX_LPC BYTE pBuffer, FX_DWORD dwSize, CPDF_Creator *pCreator); 41 int32_t» » » CompressIndirectObject(FX_DWORD dwObjNum, const uint8_t* pBuffer, FX_DWORD dwSize, CPDF_Creator *pCreator);
42 42
43 FX_BOOL End(CPDF_Creator *pCreator, FX_BOOL bEOF = FALSE); 43 FX_BOOL End(CPDF_Creator *pCreator, FX_BOOL bEOF = FALSE);
44 FX_BOOL AddObjectNumberToIndexArray(FX_DWORD obj num); 44 FX_BOOL AddObjectNumberToIndexArray(FX_DWORD obj num);
45 FX_BOOL EndXRefStream(CPDF_Creator* pCreator); 45 FX_BOOL EndXRefStream(CPDF_Creator* pCreator);
46 46
47 47
48 CFX_DWordArray m_IndexArray; 48 CFX_DWordArray m_IndexArray;
49 49
50 FX_FILESIZE m_PrevOffset; 50 FX_FILESIZE m_PrevOffset;
51 FX_DWORD m_dwTempObjNum; 51 FX_DWORD m_dwTempObjNum;
52 52
53 protected: 53 protected:
54 int32_t EndObjectStream(CPDF_Creator *pCreator, FX_BOOL bEOF = TRUE); 54 int32_t EndObjectStream(CPDF_Creator *pCreator, FX_BOOL bEOF = TRUE);
55 FX_BOOL GenerateXRefStream(CPDF_Creator* pCreato r, FX_BOOL bEOF); 55 FX_BOOL GenerateXRefStream(CPDF_Creator* pCreato r, FX_BOOL bEOF);
56 int32_t m_iSeg; 56 int32_t m_iSeg;
57 CPDF_ObjectStream m_ObjStream; 57 CPDF_ObjectStream m_ObjStream;
58 CFX_ByteTextBuf m_Buffer; 58 CFX_ByteTextBuf m_Buffer;
59 }; 59 };
60 60
61 #endif // CORE_SRC_FPDFAPI_FPDF_EDIT_EDITINT_H_ 61 #endif // CORE_SRC_FPDFAPI_FPDF_EDIT_EDITINT_H_
OLDNEW
« no previous file with comments | « core/src/fpdfapi/fpdf_basic_module.cpp ('k') | core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698