| Index: core/src/fpdfapi/fpdf_edit/editint.h
|
| diff --git a/core/src/fpdfapi/fpdf_edit/editint.h b/core/src/fpdfapi/fpdf_edit/editint.h
|
| index e80fdd3e6493488f26d3863819fb84507cc3c18d..85b4979824c059a5a10393a90453ff222f31e0b9 100644
|
| --- a/core/src/fpdfapi/fpdf_edit/editint.h
|
| +++ b/core/src/fpdfapi/fpdf_edit/editint.h
|
| @@ -7,6 +7,8 @@
|
| #ifndef CORE_SRC_FPDFAPI_FPDF_EDIT_EDITINT_H_
|
| #define CORE_SRC_FPDFAPI_FPDF_EDIT_EDITINT_H_
|
|
|
| +#include <vector>
|
| +
|
| #include "core/include/fxcrt/fx_basic.h"
|
| #include "core/include/fxcrt/fx_stream.h"
|
| #include "core/include/fxcrt/fx_system.h"
|
| @@ -38,25 +40,26 @@ class CPDF_ObjectStream {
|
| };
|
| class CPDF_XRefStream {
|
| public:
|
| + struct Index {
|
| + FX_DWORD objnum;
|
| + FX_DWORD count;
|
| + };
|
| +
|
| CPDF_XRefStream();
|
|
|
| FX_BOOL Start();
|
| -
|
| int32_t CompressIndirectObject(FX_DWORD dwObjNum,
|
| const CPDF_Object* pObj,
|
| CPDF_Creator* pCreator);
|
| -
|
| int32_t CompressIndirectObject(FX_DWORD dwObjNum,
|
| const uint8_t* pBuffer,
|
| FX_DWORD dwSize,
|
| CPDF_Creator* pCreator);
|
| -
|
| FX_BOOL End(CPDF_Creator* pCreator, FX_BOOL bEOF = FALSE);
|
| - FX_BOOL AddObjectNumberToIndexArray(FX_DWORD objnum);
|
| + void AddObjectNumberToIndexArray(FX_DWORD objnum);
|
| FX_BOOL EndXRefStream(CPDF_Creator* pCreator);
|
|
|
| - CFX_DWordArray m_IndexArray;
|
| -
|
| + std::vector<Index> m_IndexArray;
|
| FX_FILESIZE m_PrevOffset;
|
| FX_DWORD m_dwTempObjNum;
|
|
|
|
|