62#ifndef INCLUDED_LOTUSWORDPRO_INC_LWPOBJSTRM_HXX
63#define INCLUDED_LOTUSWORDPRO_INC_LWPOBJSTRM_HXX
65#include <config_lgpl.h>
67#include <rtl/ustring.hxx>
97 sal_uInt16
QuickRead(
void* buf, sal_uInt16 len);
100 void Seek(sal_uInt16 pos);
stream class for LwpObject body data provide stream like interface to read object data
OUString QuickReadStringPtr()
@descr quick read string with 1252
sal_uInt16 QuickReaduInt16(bool *pFailure=nullptr)
@descr Quick read sal_uInt32
sal_uInt16 QuickRead(void *buf, sal_uInt16 len)
@descr read len bytes from object stream to buffer
sal_uInt16 GetPos() const
sal_uInt16 CheckExtra()
@descr check if extra bytes
void SkipExtra()
@descr skip extra bytes
void SeekRel(sal_uInt16 pos)
@descr SeekRel pos in object stream/buffer
double QuickReadDouble()
@descr Quick read double
sal_Int16 QuickReadInt16()
@descr Quick read sal_Int16
void ReadComplete()
@descr signal complete to release object buffer
void Read2Buffer()
@descr read object data from stream to buffer
std::vector< sal_uInt8 > m_BigBuffer
LwpSvStream * GetStream()
sal_uInt8 QuickReaduInt8(bool *pFailure=nullptr)
@descr Quick read sal_uInt8
sal_uInt16 remainingSize() const
static sal_uInt16 DecompressBuffer(sal_uInt8 *pDst, sal_uInt8 *pSrc, sal_uInt16 Size)
@descr decompress data buffer from pSrc to pDst Refer to the CAmiPro40File::DecompressObject(~) in LW...
sal_uInt8 m_SmallBuffer[100]
void Seek(sal_uInt16 pos)
@descr Seek to pos in object buffer/buffer
sal_uInt32 QuickReaduInt32(bool *pFailure=nullptr)
@descr Quick read sal_uInt32
sal_Int32 QuickReadInt32()
@descr Quick read sal_Int32
LwpObjectStream(LwpSvStream *pStrm, bool isCompressed, sal_uInt16 size)
@descr ctor() from LwpSvStream
sal_uInt8 * AllocBuffer(sal_uInt16 size)
@descr alloc size of buffer
bool QuickReadBool()
@descr Quick read sal_Bool
void ReleaseBuffer()
@descr release object buffer
sal_uInt8 * m_pContentBuf
encapsulate XInputStream to provide SvStream like interfaces