| Index: core/fpdfapi/fpdf_edit/editint.h
|
| diff --git a/core/fpdfapi/fpdf_edit/editint.h b/core/fpdfapi/fpdf_edit/editint.h
|
| index 69a64b9aba462452cd8629e8d01c899da6128995..a7774050ae602123ff0a9a5ddd3359cc8a2f5be9 100644
|
| --- a/core/fpdfapi/fpdf_edit/editint.h
|
| +++ b/core/fpdfapi/fpdf_edit/editint.h
|
| @@ -18,26 +18,26 @@ class CPDF_Object;
|
|
|
| class CPDF_ObjectStream {
|
| public:
|
| - CPDF_ObjectStream();
|
| -
|
| - FX_BOOL Start();
|
| + struct Item {
|
| + uint32_t objnum;
|
| + FX_STRSIZE offset;
|
| + };
|
|
|
| - int32_t CompressIndirectObject(uint32_t dwObjNum, const CPDF_Object* pObj);
|
| - int32_t CompressIndirectObject(uint32_t dwObjNum,
|
| - const uint8_t* pBuffer,
|
| - uint32_t dwSize);
|
| + CPDF_ObjectStream();
|
|
|
| + void Start();
|
| FX_FILESIZE End(CPDF_Creator* pCreator);
|
| + void CompressIndirectObject(uint32_t dwObjNum, const CPDF_Object* pObj);
|
| + void CompressIndirectObject(uint32_t dwObjNum,
|
| + const uint8_t* pBuffer,
|
| + uint32_t dwSize);
|
|
|
| - CFX_ArrayTemplate<uint32_t> m_ObjNumArray;
|
| -
|
| + std::vector<Item> m_Items;
|
| CFX_ByteTextBuf m_Buffer;
|
| uint32_t m_dwObjNum;
|
| int32_t m_index;
|
| -
|
| - protected:
|
| - CFX_ArrayTemplate<uint32_t> m_OffsetArray;
|
| };
|
| +
|
| class CPDF_XRefStream {
|
| public:
|
| struct Index {
|
|
|