LibreOffice Module oox (master) 1
Protected Member Functions | Private Member Functions | Private Attributes | List of all members
oox::dump::RecordObjectBase Class Referenceabstract

#include <dumperbase.hxx>

Inheritance diagram for oox::dump::RecordObjectBase:
[legend]
Collaboration diagram for oox::dump::RecordObjectBase:
[legend]

Protected Member Functions

 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 bool implStartRecord (BinaryInputStream &rBaseStrm, sal_Int64 &ornRecPos, sal_Int64 &ornRecId, sal_Int64 &ornRecSize)=0
 
virtual void implWriteExtHeader ()
 
virtual void implDumpRecordBody ()
 
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 construct (const ObjectBase &rParent, const OUString &rSysFileName)
 
void construct (const OutputObjectBase &rParent)
 
void construct (const ConfigRef &rxConfig)
 
void construct (const ObjectBase &rParent)
 
- Protected Member Functions inherited from oox::dump::InputObjectBase
 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)
 
virtual bool implIsValid () const override
 
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=',')
 
void construct (const ObjectBase &rParent, const OUString &rSysFileName)
 
void construct (const OutputObjectBase &rParent)
 
void construct (const ConfigRef &rxConfig)
 
void construct (const ObjectBase &rParent)
 
- Protected Member Functions inherited from oox::dump::OutputObjectBase
 OutputObjectBase ()
 
void construct (const ObjectBase &rParent, const OUString &rSysFileName)
 
void construct (const OutputObjectBase &rParent)
 
virtual bool implIsValid () const override
 
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, std::u16string_view 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=',')
 
void construct (const ConfigRef &rxConfig)
 
void construct (const ObjectBase &rParent)
 
- Protected Member Functions inherited from oox::dump::ObjectBase
 ObjectBase ()
 
void construct (const ConfigRef &rxConfig)
 
void construct (const ObjectBase &rParent)
 
virtual bool implIsValid () const override
 
virtual void implDump ()
 
Configcfg () const
 
- Protected Member Functions inherited from oox::dump::Base
 Base ()
 
virtual bool implIsValid () const =0
 

Private Member Functions

void constructRecObjBase (const BinaryInputStreamRef &rxBaseStrm, const String &rRecNames, const String &rSimpleRecs)
 
void writeHeader ()
 

Private Attributes

BinaryInputStreamRef mxBaseStrm
 
NameListWrapper maRecNames
 
NameListWrapper maSimpleRecs
 
sal_Int64 mnRecPos
 
sal_Int64 mnRecId
 
sal_Int64 mnRecSize
 
bool mbShowRecPos
 
bool mbBinaryOnly
 

Additional Inherited Members

- Public Member Functions inherited from oox::dump::InputObjectBase
virtual ~InputObjectBase () override
 
 InputObjectBase (InputObjectBase const &)=default
 
 InputObjectBase (InputObjectBase &&)=default
 
InputObjectBaseoperator= (InputObjectBase const &)=default
 
InputObjectBaseoperator= (InputObjectBase &&)=default
 
- Public Member Functions inherited from oox::dump::OutputObjectBase
virtual ~OutputObjectBase () override
 
 OutputObjectBase (OutputObjectBase const &)=default
 
 OutputObjectBase (OutputObjectBase &&)=default
 
OutputObjectBaseoperator= (OutputObjectBase const &)=default
 
OutputObjectBaseoperator= (OutputObjectBase &&)=default
 
- Public Member Functions inherited from oox::dump::ObjectBase
virtual ~ObjectBase () override
 
 ObjectBase (ObjectBase const &)=default
 
 ObjectBase (ObjectBase &&)=default
 
ObjectBaseoperator= (ObjectBase const &)=default
 
ObjectBaseoperator= (ObjectBase &&)=default
 
const css::uno::Reference< css::uno::XComponentContext > & getContext () const
 
void dump ()
 
- Public Member Functions inherited from oox::dump::Base
virtual ~Base ()
 
 Base (Base const &)=default
 
 Base (Base &&)=default
 
Baseoperator= (Base const &)=default
 
Baseoperator= (Base &&)=default
 
bool isValid () const
 
- Static Public Member Functions inherited from oox::dump::Base
static bool isValid (const std::shared_ptr< Base > &rxBase)
 
- Protected Attributes inherited from oox::dump::InputObjectBase
BinaryInputStreamRef mxStrm
 
- Protected Attributes inherited from oox::dump::OutputObjectBase
OutputRef mxOut
 
OUString maSysFileName
 

Detailed Description

Definition at line 1640 of file dumperbase.hxx.

Constructor & Destructor Documentation

◆ RecordObjectBase()

oox::dump::RecordObjectBase::RecordObjectBase ( )
inlineprotected

Definition at line 1643 of file dumperbase.hxx.

Member Function Documentation

◆ construct() [1/8]

void oox::dump::ObjectBase::construct ( const ConfigRef rxConfig)
protected

Definition at line 1380 of file dumperbase.cxx.

◆ construct() [2/8]

void oox::dump::InputObjectBase::construct ( const InputObjectBase rParent)
protected

Definition at line 1383 of file dumperbase.cxx.

◆ construct() [3/8]

void oox::dump::ObjectBase::construct ( const ObjectBase rParent)
protected

Definition at line 1380 of file dumperbase.cxx.

◆ construct() [4/8]

void oox::dump::RecordObjectBase::construct ( const ObjectBase rParent,
const BinaryInputStreamRef rxBaseStrm,
const OUString &  rSysFileName,
const BinaryInputStreamRef rxRecStrm,
const String rRecNames,
const String rSimpleRecs 
)
protected

◆ construct() [5/8]

void oox::dump::InputObjectBase::construct ( const ObjectBase rParent,
const BinaryInputStreamRef rxStrm,
const OUString &  rSysFileName 
)
protected

Definition at line 1381 of file dumperbase.cxx.

◆ construct() [6/8]

void oox::dump::OutputObjectBase::construct ( const ObjectBase rParent,
const OUString &  rSysFileName 
)
protected

Definition at line 1380 of file dumperbase.cxx.

◆ construct() [7/8]

void oox::dump::OutputObjectBase::construct ( const OutputObjectBase rParent)
protected

Definition at line 1380 of file dumperbase.cxx.

◆ construct() [8/8]

void oox::dump::InputObjectBase::construct ( const OutputObjectBase rParent,
const BinaryInputStreamRef rxStrm 
)
protected

Definition at line 1382 of file dumperbase.cxx.

◆ constructRecObjBase()

void oox::dump::RecordObjectBase::constructRecObjBase ( const BinaryInputStreamRef rxBaseStrm,
const String rRecNames,
const String rSimpleRecs 
)
private

◆ getRecId()

sal_Int64 oox::dump::RecordObjectBase::getRecId ( ) const
inlineprotected

◆ getRecSize()

sal_Int64 oox::dump::RecordObjectBase::getRecSize ( ) const
inlineprotected

◆ implDump()

void oox::dump::RecordObjectBase::implDump ( )
overrideprotectedvirtual

◆ implDumpRecordBody()

void oox::dump::RecordObjectBase::implDumpRecordBody ( )
protectedvirtual

Reimplemented in oox::dump::DffStreamObject, and oox::dump::VbaDirStreamObject.

Definition at line 2500 of file dumperbase.cxx.

Referenced by implDump().

◆ implIsValid()

bool oox::dump::RecordObjectBase::implIsValid ( ) const
overrideprotectedvirtual

◆ implStartRecord()

virtual bool oox::dump::RecordObjectBase::implStartRecord ( BinaryInputStream rBaseStrm,
sal_Int64 &  ornRecPos,
sal_Int64 &  ornRecId,
sal_Int64 &  ornRecSize 
)
protectedpure virtual

Implemented in oox::dump::SequenceRecordObjectBase.

Referenced by implDump().

◆ implWriteExtHeader()

void oox::dump::RecordObjectBase::implWriteExtHeader ( )
protectedvirtual

Reimplemented in oox::dump::DffStreamObject.

Definition at line 2496 of file dumperbase.cxx.

Referenced by implDump().

◆ writeHeader()

void oox::dump::RecordObjectBase::writeHeader ( )
private

Member Data Documentation

◆ maRecNames

NameListWrapper oox::dump::RecordObjectBase::maRecNames
private

Definition at line 1674 of file dumperbase.hxx.

Referenced by constructRecObjBase(), implDump(), and writeHeader().

◆ maSimpleRecs

NameListWrapper oox::dump::RecordObjectBase::maSimpleRecs
private

Definition at line 1675 of file dumperbase.hxx.

Referenced by constructRecObjBase(), and implDump().

◆ mbBinaryOnly

bool oox::dump::RecordObjectBase::mbBinaryOnly
private

Definition at line 1680 of file dumperbase.hxx.

Referenced by constructRecObjBase(), and implDump().

◆ mbShowRecPos

bool oox::dump::RecordObjectBase::mbShowRecPos
private

Definition at line 1679 of file dumperbase.hxx.

Referenced by constructRecObjBase(), and writeHeader().

◆ mnRecId

sal_Int64 oox::dump::RecordObjectBase::mnRecId
private

Definition at line 1677 of file dumperbase.hxx.

Referenced by constructRecObjBase(), getRecId(), implDump(), and writeHeader().

◆ mnRecPos

sal_Int64 oox::dump::RecordObjectBase::mnRecPos
private

Definition at line 1676 of file dumperbase.hxx.

Referenced by constructRecObjBase(), implDump(), and writeHeader().

◆ mnRecSize

sal_Int64 oox::dump::RecordObjectBase::mnRecSize
private

Definition at line 1678 of file dumperbase.hxx.

Referenced by constructRecObjBase(), getRecSize(), implDump(), and writeHeader().

◆ mxBaseStrm

BinaryInputStreamRef oox::dump::RecordObjectBase::mxBaseStrm
private

Definition at line 1673 of file dumperbase.hxx.

Referenced by constructRecObjBase(), implDump(), implIsValid(), and writeHeader().


The documentation for this class was generated from the following files: