LibreOffice Module lotuswordpro (master) 1
|
Base class of all Lwp VO objects. More...
#include <lwpobjhdr.hxx>
Public Member Functions | |
LwpObjectHeader () | |
bool | Read (LwpSvStream &pStrm) |
@descr read header from stream More... | |
sal_uInt32 | GetTag () const |
sal_uInt32 | GetSize () const |
LwpObjectID & | GetID () |
bool | IsCompressed () const |
Private Types | |
enum | { VERSION_BITS = 0x03 , DEFAULT_VERSION = 0x00 , ONE_BYTE_VERSION = 0x01 , TWO_BYTE_VERSION = 0x02 , FOUR_BYTE_VERSION = 0x03 , REFCOUNT_BITS = 0x0C , ONE_BYTE_REFCOUNT = 0x04 , TWO_BYTE_REFCOUNT = 0x08 , FOUR_BYTE_REFCOUNT = 0x0C , SIZE_BITS = 0x30 , ONE_BYTE_SIZE = 0x10 , TWO_BYTE_SIZE = 0x20 , FOUR_BYTE_SIZE = 0x30 , HAS_PREVOFFSET = 0x40 , DATA_COMPRESSED = 0x80 } |
Private Attributes | |
sal_uInt32 | m_nTag |
LwpObjectID | m_ID |
sal_uInt32 | m_nSize |
bool | m_bCompressed |
Base class of all Lwp VO objects.
Definition at line 70 of file lwpobjhdr.hxx.
|
private |
Definition at line 88 of file lwpobjhdr.hxx.
LwpObjectHeader::LwpObjectHeader | ( | ) |
Definition at line 65 of file lwpobjhdr.cxx.
References m_nSize.
|
inline |
Definition at line 126 of file lwpobjhdr.hxx.
References m_ID.
Referenced by LwpObjectFactory::CreateObject(), LwpObject::GetObjectID(), and LwpObjectFactory::QueryObject().
|
inline |
Definition at line 122 of file lwpobjhdr.hxx.
References m_nSize.
Referenced by LwpObject::LwpObject(), LwpIndexManager::Read(), Lwp9Reader::ReadFileHeader(), LwpIndexManager::ReadLeafIndex(), and LwpIndexManager::ReadObjIndex().
|
inline |
Definition at line 118 of file lwpobjhdr.hxx.
References m_nTag.
Referenced by LwpObject::GetTag(), LwpObjectFactory::QueryObject(), LwpIndexManager::Read(), and LwpIndexManager::ReadObjIndex().
|
inline |
Definition at line 130 of file lwpobjhdr.hxx.
References m_bCompressed.
Referenced by LwpObject::LwpObject(), LwpIndexManager::Read(), LwpIndexManager::ReadLeafIndex(), and LwpIndexManager::ReadObjIndex().
bool LwpObjectHeader::Read | ( | LwpSvStream & | pStrm | ) |
@descr read header from stream
Definition at line 74 of file lwpobjhdr.cxx.
References BAD_OFFSET, DATA_COMPRESSED, DEFAULT_VERSION, LwpObjectID::DiskSize(), LwpObjectID::DiskSizeIndexed(), FOUR_BYTE_REFCOUNT, FOUR_BYTE_SIZE, FOUR_BYTE_VERSION, SvStream::good(), HAS_PREVOFFSET, m_bCompressed, m_ID, LwpFileHeader::m_nFileRevision, m_nSize, m_nTag, nRefCount, ONE_BYTE_REFCOUNT, ONE_BYTE_SIZE, ONE_BYTE_VERSION, LwpObjectID::Read(), LwpObjectID::ReadIndexed(), SvStream::ReadUInt16(), SvStream::ReadUInt32(), REFCOUNT_BITS, SvStream::remainingSize(), rStrm, SIZE_BITS, TAG_AMI, SvStream::Tell(), TWO_BYTE_REFCOUNT, TWO_BYTE_SIZE, TWO_BYTE_VERSION, and VERSION_BITS.
Referenced by LwpObjectFactory::QueryObject(), LwpIndexManager::Read(), Lwp9Reader::ReadFileHeader(), LwpIndexManager::ReadLeafIndex(), and LwpIndexManager::ReadObjIndex().
|
private |
Definition at line 78 of file lwpobjhdr.hxx.
Referenced by IsCompressed(), and Read().
|
private |
Definition at line 76 of file lwpobjhdr.hxx.
|
private |
Definition at line 77 of file lwpobjhdr.hxx.
|
private |
Definition at line 75 of file lwpobjhdr.hxx.