LibreOffice Module oox (master)
1
|
#include <dumperbase.hxx>
Protected Member Functions | |
SequenceRecordObjectBase () | |
void | construct (const ObjectBase &rParent, const BinaryInputStreamRef &rxBaseStrm, const OUString &rSysFileName, const String &rRecNames, const String &rSimpleRecs) |
virtual bool | implStartRecord (BinaryInputStream &rBaseStrm, sal_Int64 &ornRecPos, sal_Int64 &ornRecId, sal_Int64 &ornRecSize) override |
virtual bool | implReadRecordHeader (BinaryInputStream &rBaseStrm, sal_Int64 &ornRecId, sal_Int64 &ornRecSize)=0 |
![]() | |
RecordObjectBase () | |
void | construct (const ObjectBase &rParent, const BinaryInputStreamRef &rxBaseStrm, const OUString &rSysFileName, const BinaryInputStreamRef &rxRecStrm, const String &rRecNames, const String &rSimpleRecs) |
sal_Int64 | getRecId () const |
sal_Int64 | getRecSize () const |
virtual bool | implIsValid () const override |
virtual void | implDump () override |
virtual void | implWriteExtHeader () |
virtual void | implDumpRecordBody () |
![]() | |
InputObjectBase () | |
void | construct (const ObjectBase &rParent, const BinaryInputStreamRef &rxStrm, const OUString &rSysFileName) |
void | construct (const OutputObjectBase &rParent, const BinaryInputStreamRef &rxStrm) |
void | construct (const InputObjectBase &rParent) |
void | skipBlock (sal_Int64 nBytes, bool bShowSize=true) |
void | dumpRawBinary (sal_Int64 nBytes, bool bShowOffset, bool bStream=false) |
void | dumpBinary (const String &rName, sal_Int64 nBytes, bool bShowOffset=true) |
void | dumpRemaining (sal_Int64 nBytes) |
void | dumpRemainingTo (sal_Int64 nPos) |
void | dumpRemainingStream () |
void | dumpArray (const String &rName, sal_Int32 nBytes, sal_Unicode cSep=OOX_DUMP_LISTSEP) |
void | dumpUnused (sal_Int32 nBytes) |
void | dumpUnknown (sal_Int32 nBytes) |
sal_Unicode | dumpUnicode (const String &rName) |
OUString | dumpCharArray (const String &rName, sal_Int32 nLen, rtl_TextEncoding eTextEnc, bool bHideTrailingNul=false) |
OUString | dumpUnicodeArray (const String &rName, sal_Int32 nLen, bool bHideTrailingNul=false) |
css::util::DateTime | dumpFileTime (const String &rName=EMPTY_STRING) |
OUString | dumpGuid (const String &rName=EMPTY_STRING) |
void | dumpItem (const ItemFormat &rItemFmt) |
template<typename Type > | |
Type | dumpName (const String &rName, const NameListWrapper &rListWrp) |
template<typename Type > | |
Type | dumpDec (const String &rName, const NameListWrapper &rListWrp=NO_LIST) |
template<typename Type > | |
Type | dumpHex (const String &rName, const NameListWrapper &rListWrp=NO_LIST) |
template<typename Type > | |
Type | dumpBin (const String &rName, const NameListWrapper &rListWrp=NO_LIST) |
template<typename Type > | |
Type | dumpFix (const String &rName, const NameListWrapper &rListWrp=NO_LIST) |
template<typename Type > | |
Type | dumpBool (const String &rName, const NameListWrapper &rListWrp=NO_LIST) |
template<typename Type > | |
Type | dumpValue (const ItemFormat &rItemFmt) |
template<typename Type1 , typename Type2 > | |
Type1 | dumpName (bool bType1, const String &rName, const NameListWrapper &rListWrp=NO_LIST) |
template<typename Type1 , typename Type2 > | |
Type1 | dumpDec (bool bType1, const String &rName, const NameListWrapper &rListWrp=NO_LIST) |
template<typename Type1 , typename Type2 > | |
Type1 | dumpHex (bool bType1, const String &rName, const NameListWrapper &rListWrp=NO_LIST) |
template<typename Type1 , typename Type2 > | |
Type1 | dumpBin (bool bType1, const String &rName, const NameListWrapper &rListWrp=NO_LIST) |
template<typename Type1 , typename Type2 > | |
Type1 | dumpFix (bool bType1, const String &rName, const NameListWrapper &rListWrp=NO_LIST) |
template<typename Type1 , typename Type2 > | |
Type1 | dumpBool (bool bType1, const String &rName, const NameListWrapper &rListWrp=NO_LIST) |
template<typename Type1 , typename Type2 > | |
Type1 | dumpValue (bool bType1, const ItemFormat &rItemFmt) |
template<typename Type > | |
void | dumpDecPair (const String &rName, sal_Unicode cSep= ',') |
template<typename Type > | |
void | dumpHexPair (const String &rName, sal_Unicode cSep= ',') |
![]() | |
OutputObjectBase () | |
void | construct (const ObjectBase &rParent, const OUString &rSysFileName) |
void | construct (const OutputObjectBase &rParent) |
void | writeEmptyItem (const String &rName) |
void | writeInfoItem (const String &rName, const String &rData) |
void | writeCharItem (const String &rName, sal_Unicode cData) |
void | writeStringItem (const String &rName, const OUString &rData) |
void | writeArrayItem (const String &rName, const sal_uInt8 *pnData, std::size_t nSize, sal_Unicode cSep=OOX_DUMP_LISTSEP) |
void | writeDateTimeItem (const String &rName, const css::util::DateTime &rDateTime) |
void | writeGuidItem (const String &rName, const OUString &rGuid) |
template<typename Type > | |
void | addNameToItem (Type nData, const NameListWrapper &rListWrp) |
template<typename Type > | |
void | writeNameItem (const String &rName, Type nData, const NameListWrapper &rListWrp) |
template<typename Type > | |
void | writeDecItem (const String &rName, Type nData, const NameListWrapper &rListWrp=NO_LIST) |
template<typename Type > | |
void | writeHexItem (const String &rName, Type nData, const NameListWrapper &rListWrp=NO_LIST) |
template<typename Type > | |
void | writeShortHexItem (const String &rName, Type nData, const NameListWrapper &rListWrp=NO_LIST) |
template<typename Type > | |
void | writeBinItem (const String &rName, Type nData, const NameListWrapper &rListWrp=NO_LIST) |
template<typename Type > | |
void | writeFixItem (const String &rName, Type nData, const NameListWrapper &rListWrp=NO_LIST) |
template<typename Type > | |
void | writeDecBoolItem (const String &rName, Type nData, const NameListWrapper &rListWrp=NO_LIST) |
template<typename Type > | |
void | writeValueItem (const String &rName, Type nData, FormatType eFmtType, const NameListWrapper &rListWrp=NO_LIST) |
template<typename Type > | |
void | writeValueItem (const ItemFormat &rItemFmt, Type nData) |
template<typename Type > | |
void | writeDecPairItem (const String &rName, Type nData1, Type nData2, sal_Unicode cSep= ',') |
template<typename Type > | |
void | writeHexPairItem (const String &rName, Type nData1, Type nData2, sal_Unicode cSep= ',') |
![]() | |
ObjectBase () | |
void | construct (const ConfigRef &rxConfig) |
void | construct (const ObjectBase &rParent) |
Config & | cfg () const |
![]() | |
Base () | |
Private Attributes | |
std::shared_ptr< StreamDataSequence > | mxRecData |
Additional Inherited Members | |
![]() | |
virtual | ~InputObjectBase () override |
InputObjectBase (InputObjectBase const &)=default | |
InputObjectBase (InputObjectBase &&)=default | |
InputObjectBase & | operator= (InputObjectBase const &)=default |
InputObjectBase & | operator= (InputObjectBase &&)=default |
![]() | |
virtual | ~OutputObjectBase () override |
OutputObjectBase (OutputObjectBase const &)=default | |
OutputObjectBase (OutputObjectBase &&)=default | |
OutputObjectBase & | operator= (OutputObjectBase const &)=default |
OutputObjectBase & | operator= (OutputObjectBase &&)=default |
![]() | |
virtual | ~ObjectBase () override |
ObjectBase (ObjectBase const &)=default | |
ObjectBase (ObjectBase &&)=default | |
ObjectBase & | operator= (ObjectBase const &)=default |
ObjectBase & | operator= (ObjectBase &&)=default |
const css::uno::Reference< css::uno::XComponentContext > & | getContext () const |
void | dump () |
![]() | |
virtual | ~Base () |
Base (Base const &)=default | |
Base (Base &&)=default | |
Base & | operator= (Base const &)=default |
Base & | operator= (Base &&)=default |
bool | isValid () const |
![]() | |
static bool | isValid (const std::shared_ptr< Base > &rxBase) |
![]() | |
BinaryInputStreamRef | mxStrm |
![]() | |
OutputRef | mxOut |
OUString | maSysFileName |
Definition at line 1684 of file dumperbase.hxx.
|
inlineprotected |
Definition at line 1687 of file dumperbase.hxx.
References make_shared().
|
protected |
Definition at line 2528 of file dumperbase.cxx.
References oox::dump::RecordObjectBase::construct(), and mxRecData.
Referenced by oox::dump::VbaDirStreamObject::VbaDirStreamObject().
|
protectedpure virtual |
Implemented in oox::dump::VbaDirStreamObject, oox::dump::xlsb::RecordObjectBase, and oox::dump::DffStreamObject.
Referenced by implStartRecord().
|
overrideprotectedvirtual |
Implements oox::dump::RecordObjectBase.
Definition at line 2536 of file dumperbase.cxx.
References implReadRecordHeader(), oox::BinaryStreamBase::isEof(), oox::BinaryStreamBase::isSeekable(), mxRecData, oox::dump::InputObjectBase::mxStrm, oox::BinaryInputStream::readData(), oox::BinaryStreamBase::size(), and oox::BinaryStreamBase::tell().
|
private |
Definition at line 1701 of file dumperbase.hxx.
Referenced by construct(), and implStartRecord().