LibreOffice Module oox (master) 1
|
#include <oledumper.hxx>
Public Member Functions | |
OlePropertyStreamObject (const ObjectBase &rParent, const BinaryInputStreamRef &rxStrm, const OUString &rSysFileName) | |
Public Member Functions inherited from oox::dump::InputObjectBase | |
virtual | ~InputObjectBase () override |
InputObjectBase (InputObjectBase const &)=default | |
InputObjectBase (InputObjectBase &&)=default | |
InputObjectBase & | operator= (InputObjectBase const &)=default |
InputObjectBase & | operator= (InputObjectBase &&)=default |
Public Member Functions inherited from oox::dump::OutputObjectBase | |
virtual | ~OutputObjectBase () override |
OutputObjectBase (OutputObjectBase const &)=default | |
OutputObjectBase (OutputObjectBase &&)=default | |
OutputObjectBase & | operator= (OutputObjectBase const &)=default |
OutputObjectBase & | operator= (OutputObjectBase &&)=default |
Public Member Functions inherited from oox::dump::ObjectBase | |
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 () |
Public Member Functions inherited from oox::dump::Base | |
virtual | ~Base () |
Base (Base const &)=default | |
Base (Base &&)=default | |
Base & | operator= (Base const &)=default |
Base & | operator= (Base &&)=default |
bool | isValid () const |
Protected Member Functions | |
virtual void | implDump () override |
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 () |
Config & | cfg () const |
Protected Member Functions inherited from oox::dump::Base | |
Base () | |
virtual bool | implIsValid () const =0 |
Private Member Functions | |
void | dumpSection (const OUString &rGuid, sal_uInt32 nStartPos) |
void | dumpProperty (sal_Int32 nPropId, sal_uInt32 nStartPos) |
void | dumpCodePageProperty (sal_uInt32 nStartPos) |
void | dumpDictionaryProperty (sal_uInt32 nStartPos) |
sal_uInt16 | dumpPropertyContents (sal_Int32 nPropId) |
void | dumpPropertyValue (sal_Int32 nPropId, sal_uInt16 nBaseType) |
void | dumpPropertyVector (sal_Int32 nPropId, sal_uInt16 nBaseType) |
sal_uInt16 | dumpPropertyType () |
void | dumpBlob (sal_Int32 nPropId, const String &rName) |
OUString | dumpString8 (const String &rName) |
OUString | dumpCharArray8 (const String &rName, sal_Int32 nLen) |
OUString | dumpString16 (const String &rName) |
OUString | dumpCharArray16 (const String &rName, sal_Int32 nLen) |
bool | dumpTypedProperty (const String &rName, sal_uInt16 nExpectedType) |
void | dumpHlinks (sal_Int32 nSize) |
bool | startElement (sal_uInt32 nStartPos) |
void | writeSectionHeader (const OUString &rGuid, sal_uInt32 nStartPos) |
void | writePropertyHeader (sal_Int32 nPropId, sal_uInt32 nStartPos) |
Private Attributes | |
NameListRef | mxPropIds |
rtl_TextEncoding | meTextEnc |
bool | mbIsUnicode |
Additional Inherited Members | |
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 |
Definition at line 99 of file oledumper.hxx.
|
explicit |
Definition at line 178 of file oledumper.cxx.
References oox::dump::InputObjectBase::construct().
|
private |
Definition at line 398 of file oledumper.cxx.
References aPropName, oox::dump::ObjectBase::cfg(), oox::dump::InputObjectBase::dumpBinary(), dumpHlinks(), and mxPropIds.
Referenced by dumpPropertyValue().
|
private |
Definition at line 431 of file oledumper.cxx.
References aData, oox::dump::InputObjectBase::dumpUnused(), oox::dump::InputObjectBase::mxStrm, and oox::dump::OutputObjectBase::writeStringItem().
Referenced by dumpString16(), and dumpString8().
|
private |
Definition at line 417 of file oledumper.cxx.
References aData, meTextEnc, oox::dump::InputObjectBase::mxStrm, and oox::dump::OutputObjectBase::writeStringItem().
Referenced by dumpString8().
|
private |
Definition at line 297 of file oledumper.cxx.
References CODEPAGE_UNICODE, dumpPropertyContents(), dumpPropertyType(), mbIsUnicode, meTextEnc, oox::dump::OutputObjectBase::mxOut, nType, startElement(), and writePropertyHeader().
Referenced by dumpSection().
|
private |
Definition at line 318 of file oledumper.cxx.
References aName, dumpString8(), oox::dump::OutputObjectBase::mxOut, mxPropIds, oox::dump::InputObjectBase::mxStrm, nCount, nId, startElement(), and writePropertyHeader().
Referenced by dumpSection().
|
private |
Definition at line 447 of file oledumper.cxx.
References oox::dump::InputObjectBase::dumpRemainingTo(), dumpTypedProperty(), oox::dump::OutputObjectBase::mxOut, oox::dump::InputObjectBase::mxStrm, nCount, and oox::dump::OutputObjectBase::writeEmptyItem().
Referenced by dumpBlob().
|
private |
Definition at line 288 of file oledumper.cxx.
References dumpPropertyContents(), oox::dump::OutputObjectBase::mxOut, startElement(), and writePropertyHeader().
Referenced by dumpSection().
|
private |
Definition at line 338 of file oledumper.cxx.
References dumpPropertyType(), dumpPropertyValue(), dumpPropertyVector(), and nType.
Referenced by dumpCodePageProperty(), dumpProperty(), dumpPropertyValue(), and dumpTypedProperty().
|
private |
Definition at line 393 of file oledumper.cxx.
Referenced by dumpCodePageProperty(), and dumpPropertyContents().
|
private |
Definition at line 352 of file oledumper.cxx.
References dumpBlob(), oox::dump::InputObjectBase::dumpFileTime(), dumpPropertyContents(), dumpString16(), and dumpString8().
Referenced by dumpPropertyContents(), and dumpPropertyVector().
|
private |
Definition at line 381 of file oledumper.cxx.
References dumpPropertyValue(), oox::dump::OutputObjectBase::mxOut, oox::dump::InputObjectBase::mxStrm, and oox::dump::OutputObjectBase::writeEmptyItem().
Referenced by dumpPropertyContents().
|
private |
Definition at line 219 of file oledumper.cxx.
References oox::dump::ObjectBase::cfg(), oox::dump::Config::createNameList(), dumpCodePageProperty(), dumpDictionaryProperty(), dumpProperty(), oox::dump::Config::eraseNameList(), oox::dump::Config::getStringOption(), mbIsUnicode, meTextEnc, oox::dump::OutputObjectBase::mxOut, mxPropIds, oox::dump::InputObjectBase::mxStrm, startElement(), oox::dump::OutputObjectBase::writeEmptyItem(), and writeSectionHeader().
Referenced by implDump().
|
private |
Definition at line 425 of file oledumper.cxx.
References dumpCharArray16().
Referenced by dumpPropertyValue().
|
private |
Definition at line 411 of file oledumper.cxx.
References dumpCharArray16(), dumpCharArray8(), and mbIsUnicode.
Referenced by dumpDictionaryProperty(), and dumpPropertyValue().
|
private |
Definition at line 440 of file oledumper.cxx.
References dumpPropertyContents(), oox::dump::OutputObjectBase::mxOut, oox::dump::InputObjectBase::mxStrm, and oox::dump::OutputObjectBase::writeEmptyItem().
Referenced by dumpHlinks().
|
overrideprotectedvirtual |
Reimplemented from oox::dump::ObjectBase.
Definition at line 183 of file oledumper.cxx.
References oox::dump::InputObjectBase::dumpGuid(), dumpSection(), oox::dump::OutputObjectBase::mxOut, oox::dump::InputObjectBase::mxStrm, and oox::dump::OutputObjectBase::writeEmptyItem().
|
private |
Definition at line 467 of file oledumper.cxx.
References oox::dump::InputObjectBase::mxStrm, OOX_DUMP_ERR_STREAM, and oox::dump::OutputObjectBase::writeInfoItem().
Referenced by dumpCodePageProperty(), dumpDictionaryProperty(), dumpProperty(), and dumpSection().
|
private |
Definition at line 483 of file oledumper.cxx.
References oox::dump::OutputObjectBase::mxOut, mxPropIds, oox::dump::OutputObjectBase::writeDecItem(), oox::dump::OutputObjectBase::writeEmptyItem(), and oox::dump::OutputObjectBase::writeHexItem().
Referenced by dumpCodePageProperty(), dumpDictionaryProperty(), and dumpProperty().
|
private |
Definition at line 475 of file oledumper.cxx.
References oox::dump::OutputObjectBase::mxOut, oox::dump::OutputObjectBase::writeEmptyItem(), oox::dump::OutputObjectBase::writeGuidItem(), and oox::dump::OutputObjectBase::writeHexItem().
Referenced by dumpSection().
|
private |
Definition at line 134 of file oledumper.hxx.
Referenced by dumpCodePageProperty(), dumpSection(), and dumpString8().
|
private |
Definition at line 133 of file oledumper.hxx.
Referenced by dumpCharArray8(), dumpCodePageProperty(), and dumpSection().
|
private |
Definition at line 132 of file oledumper.hxx.
Referenced by dumpBlob(), dumpDictionaryProperty(), dumpSection(), and writePropertyHeader().