| 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_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> | 
| 11 | 11 | 
| 12 #include "core/include/fxcrt/fx_basic.h" | 12 #include "core/fxcrt/include/fx_basic.h" | 
| 13 #include "core/include/fxcrt/fx_stream.h" | 13 #include "core/fxcrt/include/fx_stream.h" | 
| 14 #include "core/include/fxcrt/fx_system.h" | 14 #include "core/fxcrt/include/fx_system.h" | 
| 15 | 15 | 
| 16 class CPDF_Creator; | 16 class CPDF_Creator; | 
| 17 class CPDF_Object; | 17 class CPDF_Object; | 
| 18 | 18 | 
| 19 class CPDF_ObjectStream { | 19 class CPDF_ObjectStream { | 
| 20  public: | 20  public: | 
| 21   CPDF_ObjectStream(); | 21   CPDF_ObjectStream(); | 
| 22 | 22 | 
| 23   FX_BOOL Start(); | 23   FX_BOOL Start(); | 
| 24 | 24 | 
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 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_ | 
| OLD | NEW | 
|---|