LibreOffice Module oox (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
oox::dump::InputObjectBase Class Reference

#include <dumperbase.hxx>

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

Public Member Functions

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
 

Protected Member Functions

 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
 

Protected Attributes

BinaryInputStreamRef mxStrm
 
- Protected Attributes inherited from oox::dump::OutputObjectBase
OutputRef mxOut
 
OUString maSysFileName
 

Additional Inherited Members

- Static Public Member Functions inherited from oox::dump::Base
static bool isValid (const std::shared_ptr< Base > &rxBase)
 

Detailed Description

Definition at line 1367 of file dumperbase.hxx.

Constructor & Destructor Documentation

◆ ~InputObjectBase()

oox::dump::InputObjectBase::~InputObjectBase ( )
overridevirtual

Definition at line 2003 of file dumperbase.cxx.

◆ InputObjectBase() [1/3]

oox::dump::InputObjectBase::InputObjectBase ( InputObjectBase const &  )
default

◆ InputObjectBase() [2/3]

oox::dump::InputObjectBase::InputObjectBase ( InputObjectBase &&  )
default

◆ InputObjectBase() [3/3]

oox::dump::InputObjectBase::InputObjectBase ( )
inlineprotected

Definition at line 1378 of file dumperbase.hxx.

Member Function Documentation

◆ construct() [1/7]

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

Definition at line 1212 of file dumperbase.cxx.

◆ construct() [2/7]

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

Definition at line 2019 of file dumperbase.cxx.

◆ construct() [3/7]

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

Definition at line 1212 of file dumperbase.cxx.

◆ construct() [4/7]

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

◆ construct() [5/7]

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

Definition at line 1213 of file dumperbase.cxx.

◆ construct() [6/7]

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

Definition at line 1214 of file dumperbase.cxx.

◆ construct() [7/7]

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

Definition at line 2013 of file dumperbase.cxx.

References oox::dump::OutputObjectBase::construct(), and mxStrm.

◆ dumpArray()

void oox::dump::InputObjectBase::dumpArray ( const String rName,
sal_Int32  nBytes,
sal_Unicode  cSep = OOX_DUMP_LISTSEP 
)
protected

Definition at line 2130 of file dumperbase.cxx.

References dumpBinary(), mxStrm, and oox::dump::OutputObjectBase::writeArrayItem().

Referenced by dumpUnknown(), and dumpUnused().

◆ dumpBin() [1/2]

template<typename Type1 , typename Type2 >
Type1 oox::dump::InputObjectBase::dumpBin ( bool  bType1,
const String rName,
const NameListWrapper rListWrp = NO_LIST 
)
protected

Definition at line 1524 of file dumperbase.hxx.

References Type1.

◆ dumpBin() [2/2]

template<typename Type >
Type oox::dump::InputObjectBase::dumpBin ( const String rName,
const NameListWrapper rListWrp = NO_LIST 
)
protected

Definition at line 1474 of file dumperbase.hxx.

References mxStrm, and oox::dump::OutputObjectBase::writeBinItem().

◆ dumpBinary()

void oox::dump::InputObjectBase::dumpBinary ( const String rName,
sal_Int64  nBytes,
bool  bShowOffset = true 
)
protected

◆ dumpBool() [1/2]

template<typename Type1 , typename Type2 >
Type1 oox::dump::InputObjectBase::dumpBool ( bool  bType1,
const String rName,
const NameListWrapper rListWrp = NO_LIST 
)
protected

Definition at line 1536 of file dumperbase.hxx.

References Type1.

◆ dumpBool() [2/2]

template<typename Type >
Type oox::dump::InputObjectBase::dumpBool ( const String rName,
const NameListWrapper rListWrp = NO_LIST 
)
protected

Definition at line 1490 of file dumperbase.hxx.

References mxStrm, and oox::dump::OutputObjectBase::writeDecBoolItem().

◆ dumpCharArray()

OUString oox::dump::InputObjectBase::dumpCharArray ( const String rName,
sal_Int32  nLen,
rtl_TextEncoding  eTextEnc,
bool  bHideTrailingNul = false 
)
protected

◆ dumpDec() [1/2]

template<typename Type1 , typename Type2 >
Type1 oox::dump::InputObjectBase::dumpDec ( bool  bType1,
const String rName,
const NameListWrapper rListWrp = NO_LIST 
)
protected

Definition at line 1512 of file dumperbase.hxx.

References Type1.

◆ dumpDec() [2/2]

template<typename Type >
Type oox::dump::InputObjectBase::dumpDec ( const String rName,
const NameListWrapper rListWrp = NO_LIST 
)
protected

Definition at line 1458 of file dumperbase.hxx.

References mxStrm, and oox::dump::OutputObjectBase::writeDecItem().

◆ dumpDecPair()

template<typename Type >
void oox::dump::InputObjectBase::dumpDecPair ( const String rName,
sal_Unicode  cSep = ',' 
)
protected

Definition at line 1548 of file dumperbase.hxx.

References mxStrm, and oox::dump::OutputObjectBase::writeDecPairItem().

◆ dumpFileTime()

util::DateTime oox::dump::InputObjectBase::dumpFileTime ( const String rName = EMPTY_STRING)
protected

◆ dumpFix() [1/2]

template<typename Type1 , typename Type2 >
Type1 oox::dump::InputObjectBase::dumpFix ( bool  bType1,
const String rName,
const NameListWrapper rListWrp = NO_LIST 
)
protected

Definition at line 1530 of file dumperbase.hxx.

References Type1.

◆ dumpFix() [2/2]

template<typename Type >
Type oox::dump::InputObjectBase::dumpFix ( const String rName,
const NameListWrapper rListWrp = NO_LIST 
)
protected

Definition at line 1482 of file dumperbase.hxx.

References mxStrm, and oox::dump::OutputObjectBase::writeFixItem().

◆ dumpGuid()

OUString oox::dump::InputObjectBase::dumpGuid ( const String rName = EMPTY_STRING)
protected

◆ dumpHex() [1/2]

template<typename Type1 , typename Type2 >
Type1 oox::dump::InputObjectBase::dumpHex ( bool  bType1,
const String rName,
const NameListWrapper rListWrp = NO_LIST 
)
protected

Definition at line 1518 of file dumperbase.hxx.

References Type1.

◆ dumpHex() [2/2]

template<typename Type >
Type oox::dump::InputObjectBase::dumpHex ( const String rName,
const NameListWrapper rListWrp = NO_LIST 
)
protected

Definition at line 1466 of file dumperbase.hxx.

References mxStrm, and oox::dump::OutputObjectBase::writeHexItem().

◆ dumpHexPair()

template<typename Type >
void oox::dump::InputObjectBase::dumpHexPair ( const String rName,
sal_Unicode  cSep = ',' 
)
protected

Definition at line 1556 of file dumperbase.hxx.

References mxStrm, and oox::dump::OutputObjectBase::writeHexPairItem().

◆ dumpItem()

void oox::dump::InputObjectBase::dumpItem ( const ItemFormat rItemFmt)
protected

◆ dumpName() [1/2]

template<typename Type1 , typename Type2 >
Type1 oox::dump::InputObjectBase::dumpName ( bool  bType1,
const String rName,
const NameListWrapper rListWrp = NO_LIST 
)
protected

Definition at line 1506 of file dumperbase.hxx.

References Type1.

◆ dumpName() [2/2]

template<typename Type >
Type oox::dump::InputObjectBase::dumpName ( const String rName,
const NameListWrapper rListWrp 
)
protected

Definition at line 1450 of file dumperbase.hxx.

References mxStrm, and oox::dump::OutputObjectBase::writeNameItem().

◆ dumpRawBinary()

void oox::dump::InputObjectBase::dumpRawBinary ( sal_Int64  nBytes,
bool  bShowOffset,
bool  bStream = false 
)
protected

◆ dumpRemaining()

void oox::dump::InputObjectBase::dumpRemaining ( sal_Int64  nBytes)
protected

Definition at line 2105 of file dumperbase.cxx.

References oox::dump::ObjectBase::cfg(), dumpBinary(), and skipBlock().

Referenced by dumpRemainingTo().

◆ dumpRemainingStream()

void oox::dump::InputObjectBase::dumpRemainingStream ( )
protected

◆ dumpRemainingTo()

void oox::dump::InputObjectBase::dumpRemainingTo ( sal_Int64  nPos)
protected

◆ dumpUnicode()

sal_Unicode oox::dump::InputObjectBase::dumpUnicode ( const String rName)
protected

◆ dumpUnicodeArray()

OUString oox::dump::InputObjectBase::dumpUnicodeArray ( const String rName,
sal_Int32  nLen,
bool  bHideTrailingNul = false 
)
protected

◆ dumpUnknown()

void oox::dump::InputObjectBase::dumpUnknown ( sal_Int32  nBytes)
inlineprotected

◆ dumpUnused()

void oox::dump::InputObjectBase::dumpUnused ( sal_Int32  nBytes)
inlineprotected

◆ dumpValue() [1/2]

template<typename Type1 , typename Type2 >
Type1 oox::dump::InputObjectBase::dumpValue ( bool  bType1,
const ItemFormat rItemFmt 
)
protected

Definition at line 1542 of file dumperbase.hxx.

References Type1.

◆ dumpValue() [2/2]

template<typename Type >
Type oox::dump::InputObjectBase::dumpValue ( const ItemFormat rItemFmt)
protected

Definition at line 1498 of file dumperbase.hxx.

References mxStrm, and oox::dump::OutputObjectBase::writeValueItem().

◆ implIsValid()

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

◆ operator=() [1/2]

InputObjectBase & oox::dump::InputObjectBase::operator= ( InputObjectBase &&  )
default

◆ operator=() [2/2]

InputObjectBase & oox::dump::InputObjectBase::operator= ( InputObjectBase const &  )
default

◆ skipBlock()

void oox::dump::InputObjectBase::skipBlock ( sal_Int64  nBytes,
bool  bShowSize = true 
)
protected

Definition at line 2029 of file dumperbase.cxx.

References mxStrm, and oox::dump::OutputObjectBase::writeDecItem().

Referenced by dumpRawBinary(), and dumpRemaining().

Member Data Documentation

◆ mxStrm

BinaryInputStreamRef oox::dump::InputObjectBase::mxStrm
protected

Definition at line 1445 of file dumperbase.hxx.

Referenced by oox::dump::AxPropertyObjectBase::alignInput(), construct(), oox::dump::TextStreamObjectBase::constructTextStrmObj(), oox::dump::OleInputObjectBase::dumpAnsiString32(), oox::dump::OleInputObjectBase::dumpAnsiString32OrStdClip(), dumpArray(), dumpBin(), oox::dump::BinaryStreamObject::dumpBinaryStream(), dumpBool(), oox::dump::VbaDirStreamObject::dumpByteStringWithLength(), dumpCharArray(), oox::dump::OlePropertyStreamObject::dumpCharArray16(), oox::dump::OlePropertyStreamObject::dumpCharArray8(), oox::dump::ComCtlObjectBase::dumpComCtlCommon(), oox::dump::ComCtlObjectBase::dumpComCtlComplex(), oox::dump::ComCtlObjectBase::dumpComCtlData(), oox::dump::ComCtlObjectBase::dumpComCtlHeader(), oox::dump::ComCtlObjectBase::dumpComCtlSize(), dumpDec(), dumpDecPair(), oox::dump::DffStreamObject::dumpDffOpt(), oox::dump::OlePropertyStreamObject::dumpDictionaryProperty(), dumpFix(), dumpGuid(), dumpHex(), dumpHexPair(), oox::dump::OlePropertyStreamObject::dumpHlinks(), oox::dump::AxPropertyObjectBase::dumpLargeProperties(), dumpName(), oox::dump::OleInputObjectBase::dumpOleColor(), oox::dump::OlePropertyStreamObject::dumpPropertyVector(), dumpRawBinary(), dumpRemainingStream(), dumpRemainingTo(), oox::dump::OlePropertyStreamObject::dumpSection(), oox::dump::VbaFStreamObject::dumpSiteData(), oox::dump::OlePropertyStreamObject::dumpTypedProperty(), dumpUnicode(), dumpUnicodeArray(), oox::dump::OleInputObjectBase::dumpUniString32(), oox::dump::OleInputObjectBase::dumpUniString32OrStdClip(), dumpValue(), oox::dump::AxPropertyObjectBase::dumpVersion(), oox::dump::AxPropertyObjectBase::ensureValid(), oox::dump::RecordObjectBase::implDump(), oox::dump::StdFontObject::implDump(), oox::dump::OleCompObjObject::implDump(), oox::dump::OlePropertyStreamObject::implDump(), oox::dump::AxPropertyObjectBase::implDump(), oox::dump::FormControlStreamObject::implDump(), oox::dump::VbaOStreamObject::implDump(), oox::dump::VbaXStreamObject::implDump(), oox::dump::VbaModuleStreamObject::implDump(), oox::dump::ComCtlImageListObject::implDumpCommonExtra(), oox::dump::ComCtlTabStripObject::implDumpCommonExtra(), oox::dump::ComCtlStatusBarObject::implDumpCommonExtra(), oox::dump::ComCtlImageListObject::implDumpCommonTrailing(), oox::dump::ComCtlStatusBarObject::implDumpCommonTrailing(), oox::dump::DffStreamObject::implDumpRecordBody(), implIsValid(), oox::dump::AxPropertyObjectBase::implIsValid(), oox::dump::SequenceRecordObjectBase::implStartRecord(), oox::dump::AxPropertyObjectBase::setAlignAnchor(), skipBlock(), and oox::dump::OlePropertyStreamObject::startElement().


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