LibreOffice Module svx (master) 1
|
#include <codec.hxx>
Public Member Functions | |
GalleryCodec (SvStream &rIOStm) | |
void | Write (SvStream &rStmToWrite) |
void | Read (SvStream &rStmToRead) |
Static Public Member Functions | |
static bool | IsCoded (SvStream &rStm, sal_uInt32 &rVersion) |
Private Attributes | |
SvStream & | rStm |
|
static |
Definition at line 32 of file codec.cxx.
References nPos, SvStream::ReadUChar(), rStm, SvStream::Seek(), and SvStream::Tell().
Referenced by GallerySvDrawImport(), Read(), and GalleryFileStorage::readModelStream().
void GalleryCodec::Read | ( | SvStream & | rStmToRead | ) |
Definition at line 80 of file codec.cxx.
References ZCodec::BeginCompression(), ZCodec::Decompress(), ZCodec::EndCompression(), IsCoded(), nIndex, nVersion, SvStream::ReadBytes(), SvStream::ReadUInt32(), rStm, SvStream::SeekRel(), and SvStream::WriteBytes().
Referenced by GallerySvDrawImport().
void GalleryCodec::Write | ( | SvStream & | rStmToWrite | ) |
Definition at line 56 of file codec.cxx.
References ZCodec::BeginCompression(), ZCodec::Compress(), ZCodec::EndCompression(), nPos, rStm, SvStream::Seek(), SvStream::SeekRel(), STREAM_SEEK_TO_END, SvStream::Tell(), SvStream::TellEnd(), SvStream::WriteChar(), and SvStream::WriteUInt32().
Referenced by GalleryFileStorage::insertModel(), and GalleryFileStorage::insertModelStream().
|
private |