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 _FPDF_EDITINT_ | 7 #ifndef CORE_SRC_FPDFAPI_FPDF_EDIT_EDITINT_H_ |
8 #define _FPDF_EDITINT_ | 8 #define CORE_SRC_FPDFAPI_FPDF_EDIT_EDITINT_H_ |
| 9 |
9 class CPDF_ObjectStream | 10 class CPDF_ObjectStream |
10 { | 11 { |
11 public: | 12 public: |
12 CPDF_ObjectStream(); | 13 CPDF_ObjectStream(); |
13 | 14 |
14 FX_BOOL Start(); | 15 FX_BOOL Start(); |
15 | 16 |
16 FX_INT32 CompressIndirectObject(FX_DWORD dwObjNum, const
CPDF_Object *pObj); | 17 FX_INT32 CompressIndirectObject(FX_DWORD dwObjNum, const
CPDF_Object *pObj); |
17 FX_INT32 CompressIndirectObject(FX_DWORD dwObjNum, FX_LPC
BYTE pBuffer, FX_DWORD dwSize); | 18 FX_INT32 CompressIndirectObject(FX_DWORD dwObjNum, FX_LPC
BYTE pBuffer, FX_DWORD dwSize); |
18 | 19 |
(...skipping 30 matching lines...) Expand all Loading... |
49 FX_FILESIZE m_PrevOffset; | 50 FX_FILESIZE m_PrevOffset; |
50 FX_DWORD m_dwTempObjNum; | 51 FX_DWORD m_dwTempObjNum; |
51 | 52 |
52 protected: | 53 protected: |
53 FX_INT32 EndObjectStream(CPDF_Creator *pCreator, FX_BOOL
bEOF = TRUE); | 54 FX_INT32 EndObjectStream(CPDF_Creator *pCreator, FX_BOOL
bEOF = TRUE); |
54 FX_BOOL GenerateXRefStream(CPDF_Creator* pCreato
r, FX_BOOL bEOF); | 55 FX_BOOL GenerateXRefStream(CPDF_Creator* pCreato
r, FX_BOOL bEOF); |
55 FX_INT32 m_iSeg; | 56 FX_INT32 m_iSeg; |
56 CPDF_ObjectStream m_ObjStream; | 57 CPDF_ObjectStream m_ObjStream; |
57 CFX_ByteTextBuf m_Buffer; | 58 CFX_ByteTextBuf m_Buffer; |
58 }; | 59 }; |
59 #endif | 60 |
| 61 #endif // CORE_SRC_FPDFAPI_FPDF_EDIT_EDITINT_H_ |
OLD | NEW |