LibreOffice Module oox (master) 1
|
#include <vbaexport.hxx>
Public Member Functions | |
VBACompressionChunk (SvStream &rCompressedStream, const sal_uInt8 *pData, std::size_t nChunkSize) | |
void | write () |
Private Member Functions | |
void | compressTokenSequence () |
void | compressToken (size_t index, sal_uInt8 &nFlagByte) |
sal_uInt16 | CopyToken (size_t nLength, size_t nOffset) |
void | match (size_t &rLength, size_t &rOffset) |
void | CopyTokenHelp (sal_uInt16 &rLengthMask, sal_uInt16 &rOffsetMask, sal_uInt16 &rBitCount, sal_uInt16 &rMaximumLength) |
void | writeRawChunk () |
sal_uInt16 | handleHeader (bool bCompressed) |
Static Private Member Functions | |
static void | PackCompressedChunkSize (size_t nSize, sal_uInt16 &rHeader) |
static void | PackCompressedChunkFlag (bool bCompressed, sal_uInt16 &rHeader) |
static void | PackCompressedChunkSignature (sal_uInt16 &rHeader) |
static void | SetFlagBit (size_t index, bool bVal, sal_uInt8 &rFlag) |
Private Attributes | |
SvStream & | mrCompressedStream |
const sal_uInt8 * | mpUncompressedData |
sal_uInt8 * | mpCompressedChunkStream |
std::size_t | mnChunkSize |
sal_uInt64 | mnCompressedCurrent |
sal_uInt64 | mnCompressedEnd |
sal_uInt64 | mnDecompressedCurrent |
sal_uInt64 | mnDecompressedEnd |
Definition at line 53 of file vbaexport.hxx.
VBACompressionChunk::VBACompressionChunk | ( | SvStream & | rCompressedStream, |
const sal_uInt8 * | pData, | ||
std::size_t | nChunkSize | ||
) |
Definition at line 85 of file vbaexport.cxx.
References pData.
|
private |
Definition at line 195 of file vbaexport.cxx.
References CopyToken(), index, match(), mnCompressedCurrent, mnCompressedEnd, mnDecompressedCurrent, mpCompressedChunkStream, mpUncompressedData, nLength, nToken, SetFlagBit(), and setUInt16().
Referenced by compressTokenSequence().
|
private |
Definition at line 178 of file vbaexport.cxx.
References compressToken(), index, mnCompressedCurrent, mnCompressedEnd, mnDecompressedCurrent, mnDecompressedEnd, and mpCompressedChunkStream.
Referenced by write().
|
private |
Definition at line 239 of file vbaexport.cxx.
References CopyTokenHelp(), nBitCount, nLength, and nToken.
Referenced by compressToken().
|
private |
Definition at line 295 of file vbaexport.cxx.
References mnDecompressedCurrent.
Referenced by CopyToken(), and match().
|
private |
Definition at line 103 of file vbaexport.cxx.
References mnCompressedCurrent, PackCompressedChunkFlag(), PackCompressedChunkSignature(), and PackCompressedChunkSize().
Referenced by write().
|
private |
Definition at line 254 of file vbaexport.cxx.
References CopyTokenHelp(), mnChunkSize, mnDecompressedCurrent, mpUncompressedData, and nBitCount.
Referenced by compressToken().
|
staticprivate |
Definition at line 163 of file vbaexport.cxx.
Referenced by handleHeader().
|
staticprivate |
Definition at line 171 of file vbaexport.cxx.
Referenced by handleHeader().
|
staticprivate |
Definition at line 155 of file vbaexport.cxx.
Referenced by handleHeader().
|
staticprivate |
void VBACompressionChunk::write | ( | ) |
Definition at line 116 of file vbaexport.cxx.
References compressTokenSequence(), handleHeader(), mnChunkSize, mnCompressedCurrent, mnCompressedEnd, mnDecompressedCurrent, mnDecompressedEnd, mpCompressedChunkStream, mrCompressedStream, SvStream::Seek(), setUInt16(), SvStream::Tell(), SvStream::WriteBytes(), writeRawChunk(), and SvStream::WriteUInt16().
Referenced by VBACompression::write().
|
private |
Definition at line 325 of file vbaexport.cxx.
References namespaces::i, mnChunkSize, mpUncompressedData, mrCompressedStream, SvStream::WriteBytes(), and SvStream::WriteUInt8().
Referenced by write().
|
private |
Definition at line 67 of file vbaexport.hxx.
Referenced by match(), write(), and writeRawChunk().
|
private |
Definition at line 70 of file vbaexport.hxx.
Referenced by compressToken(), compressTokenSequence(), handleHeader(), and write().
|
private |
Definition at line 73 of file vbaexport.hxx.
Referenced by compressToken(), compressTokenSequence(), and write().
|
private |
Definition at line 76 of file vbaexport.hxx.
Referenced by compressToken(), compressTokenSequence(), CopyTokenHelp(), match(), and write().
|
private |
Definition at line 79 of file vbaexport.hxx.
Referenced by compressTokenSequence(), and write().
|
private |
Definition at line 64 of file vbaexport.hxx.
Referenced by compressToken(), compressTokenSequence(), and write().
|
private |
Definition at line 63 of file vbaexport.hxx.
Referenced by compressToken(), match(), and writeRawChunk().
|
private |
Definition at line 62 of file vbaexport.hxx.
Referenced by write(), and writeRawChunk().