LibreOffice Module oox (master) 1
Classes | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
oox::dump::AxPropertyObjectBase Class Reference

#include <oledumper.hxx>

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

Classes

struct  LargeProperty
 
struct  StreamProperty
 

Protected Member Functions

 AxPropertyObjectBase ()
 
void construct (const ObjectBase &rParent, const BinaryInputStreamRef &rxStrm, const OUString &rSysFileName, const String &rPropNameList, bool b64BitPropFlags=false)
 
void construct (const InputObjectBase &rParent, const String &rPropNameList, bool b64BitPropFlags=false)
 
virtual bool implIsValid () const override
 
virtual void implDump () override
 
virtual void implDumpShortProperties ()
 
virtual void implDumpExtended ()
 
bool ensureValid (bool bCondition=true)
 
template<typename Type >
void alignInput ()
 
void setAlignAnchor ()
 
bool startNextProperty ()
 
OUString getPropertyName () const
 
template<typename Type >
Type dumpDecProperty (Type nDefault, const NameListWrapper &rListWrp=NO_LIST)
 
template<typename Type >
Type dumpHexProperty (Type nDefault, const NameListWrapper &rListWrp=NO_LIST)
 
bool dumpBoolProperty ()
 
sal_Int32 dumpHmmProperty ()
 
sal_uInt8 dumpMousePtrProperty ()
 
template<typename Type >
Type dumpBorderStyleProperty (Type nDefault)
 
template<typename Type >
Type dumpSpecialEffectProperty (Type nDefault)
 
sal_uInt32 dumpEnabledProperty ()
 
sal_Int32 dumpOrientationProperty ()
 
sal_Int32 dumpDelayProperty ()
 
sal_uInt32 dumpImagePosProperty ()
 
sal_uInt8 dumpImageSizeModeProperty ()
 
sal_uInt8 dumpImageAlignProperty ()
 
sal_uInt32 dumpFlagsProperty (sal_uInt32 nDefault, const char *pcNameList="AX-FLAGS")
 
sal_uInt32 dumpColorProperty (sal_uInt32 nDefault)
 
sal_Unicode dumpUnicodeProperty ()
 
void dumpUnknownProperty ()
 
void dumpPosProperty ()
 
void dumpSizeProperty ()
 
void dumpGuidProperty (OUString *pValue=nullptr)
 
void dumpStringProperty (OUString *pValue=nullptr)
 
void dumpStringArrayProperty ()
 
void dumpStreamProperty ()
 
void dumpEmbeddedFont ()
 
void dumpToPosition (sal_Int64 nPos)
 
- Protected Member Functions inherited from oox::dump::OleInputObjectBase
 OleInputObjectBase ()
 
OUString dumpAnsiString32 (const String &rName)
 
OUString dumpUniString32 (const String &rName)
 
sal_Int32 dumpStdClipboardFormat (const String &rName)
 
OUString dumpAnsiString32OrStdClip (const String &rName)
 
OUString dumpUniString32OrStdClip (const String &rName)
 
void writeOleColorItem (const String &rName, sal_uInt32 nColor)
 
sal_uInt32 dumpOleColor (const String &rName)
 
- 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 Types

typedef ::std::vector< LargePropertyLargePropertyVector
 

Private Member Functions

void constructAxPropObj (const String &rPropNameList, bool b64BitPropFlags)
 
void dumpVersion ()
 
OUString dumpString (const String &rName, sal_uInt32 nSize, bool bArray)
 
void dumpShortProperties ()
 
void dumpLargeProperties ()
 

Private Attributes

LargePropertyVector maLargeProps
 
std::vector< StreamPropertymaStreamProps
 
NameListRef mxPropNames
 
sal_Int64 mnPropertiesStart
 
sal_Int64 mnPropertiesEnd
 
sal_Int64 mnPropFlags
 
sal_Int64 mnCurrProp
 
bool mb64BitPropFlags
 
bool mbValid
 

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 274 of file oledumper.hxx.

Member Typedef Documentation

◆ LargePropertyVector

Definition at line 360 of file oledumper.hxx.

Constructor & Destructor Documentation

◆ AxPropertyObjectBase()

oox::dump::AxPropertyObjectBase::AxPropertyObjectBase ( )
inlineprotected

Definition at line 277 of file oledumper.hxx.

Member Function Documentation

◆ alignInput()

template<typename Type >
void oox::dump::AxPropertyObjectBase::alignInput
protected

Definition at line 384 of file oledumper.hxx.

References mnPropertiesStart, and oox::dump::InputObjectBase::mxStrm.

◆ construct() [1/2]

void oox::dump::AxPropertyObjectBase::construct ( const InputObjectBase rParent,
const String rPropNameList,
bool  b64BitPropFlags = false 
)
protected

Definition at line 848 of file oledumper.cxx.

References oox::dump::InputObjectBase::construct(), and constructAxPropObj().

◆ construct() [2/2]

void oox::dump::AxPropertyObjectBase::construct ( const ObjectBase rParent,
const BinaryInputStreamRef rxStrm,
const OUString &  rSysFileName,
const String rPropNameList,
bool  b64BitPropFlags = false 
)
protected

◆ constructAxPropObj()

void oox::dump::AxPropertyObjectBase::constructAxPropObj ( const String rPropNameList,
bool  b64BitPropFlags 
)
private

◆ dumpBoolProperty()

bool oox::dump::AxPropertyObjectBase::dumpBoolProperty ( )
inlineprotected

◆ dumpBorderStyleProperty()

template<typename Type >
Type oox::dump::AxPropertyObjectBase::dumpBorderStyleProperty ( Type  nDefault)
inlineprotected

Definition at line 315 of file oledumper.hxx.

◆ dumpColorProperty()

sal_uInt32 oox::dump::AxPropertyObjectBase::dumpColorProperty ( sal_uInt32  nDefault)
protected

◆ dumpDecProperty()

template<typename Type >
Type oox::dump::AxPropertyObjectBase::dumpDecProperty ( Type  nDefault,
const NameListWrapper rListWrp = NO_LIST 
)
protected

Definition at line 390 of file oledumper.hxx.

References getPropertyName(), and startNextProperty().

◆ dumpDelayProperty()

sal_Int32 oox::dump::AxPropertyObjectBase::dumpDelayProperty ( )
inlineprotected

◆ dumpEmbeddedFont()

void oox::dump::AxPropertyObjectBase::dumpEmbeddedFont ( )
protected

◆ dumpEnabledProperty()

sal_uInt32 oox::dump::AxPropertyObjectBase::dumpEnabledProperty ( )
inlineprotected

◆ dumpFlagsProperty()

sal_uInt32 oox::dump::AxPropertyObjectBase::dumpFlagsProperty ( sal_uInt32  nDefault,
const char *  pcNameList = "AX-FLAGS" 
)
protected

◆ dumpGuidProperty()

void oox::dump::AxPropertyObjectBase::dumpGuidProperty ( OUString *  pValue = nullptr)
protected

◆ dumpHexProperty()

template<typename Type >
Type oox::dump::AxPropertyObjectBase::dumpHexProperty ( Type  nDefault,
const NameListWrapper rListWrp = NO_LIST 
)
protected

Definition at line 401 of file oledumper.hxx.

References getPropertyName(), and startNextProperty().

◆ dumpHmmProperty()

sal_Int32 oox::dump::AxPropertyObjectBase::dumpHmmProperty ( )
inlineprotected

◆ dumpImageAlignProperty()

sal_uInt8 oox::dump::AxPropertyObjectBase::dumpImageAlignProperty ( )
inlineprotected

◆ dumpImagePosProperty()

sal_uInt32 oox::dump::AxPropertyObjectBase::dumpImagePosProperty ( )
inlineprotected

◆ dumpImageSizeModeProperty()

sal_uInt8 oox::dump::AxPropertyObjectBase::dumpImageSizeModeProperty ( )
inlineprotected

◆ dumpLargeProperties()

void oox::dump::AxPropertyObjectBase::dumpLargeProperties ( )
private

◆ dumpMousePtrProperty()

sal_uInt8 oox::dump::AxPropertyObjectBase::dumpMousePtrProperty ( )
inlineprotected

◆ dumpOrientationProperty()

sal_Int32 oox::dump::AxPropertyObjectBase::dumpOrientationProperty ( )
inlineprotected

◆ dumpPosProperty()

void oox::dump::AxPropertyObjectBase::dumpPosProperty ( )
protected

◆ dumpShortProperties()

void oox::dump::AxPropertyObjectBase::dumpShortProperties ( )
private

◆ dumpSizeProperty()

void oox::dump::AxPropertyObjectBase::dumpSizeProperty ( )
protected

◆ dumpSpecialEffectProperty()

template<typename Type >
Type oox::dump::AxPropertyObjectBase::dumpSpecialEffectProperty ( Type  nDefault)
inlineprotected

Definition at line 317 of file oledumper.hxx.

◆ dumpStreamProperty()

void oox::dump::AxPropertyObjectBase::dumpStreamProperty ( )
protected

◆ dumpString()

OUString oox::dump::AxPropertyObjectBase::dumpString ( const String rName,
sal_uInt32  nSize,
bool  bArray 
)
private

◆ dumpStringArrayProperty()

void oox::dump::AxPropertyObjectBase::dumpStringArrayProperty ( )
protected

◆ dumpStringProperty()

void oox::dump::AxPropertyObjectBase::dumpStringProperty ( OUString *  pValue = nullptr)
protected

◆ dumpToPosition()

void oox::dump::AxPropertyObjectBase::dumpToPosition ( sal_Int64  nPos)
protected

◆ dumpUnicodeProperty()

sal_Unicode oox::dump::AxPropertyObjectBase::dumpUnicodeProperty ( )
protected

◆ dumpUnknownProperty()

void oox::dump::AxPropertyObjectBase::dumpUnknownProperty ( )
protected

◆ dumpVersion()

void oox::dump::AxPropertyObjectBase::dumpVersion ( )
private

Definition at line 1029 of file oledumper.cxx.

References oox::dump::OutputObjectBase::mxOut, and oox::dump::InputObjectBase::mxStrm.

Referenced by implDump().

◆ ensureValid()

bool oox::dump::AxPropertyObjectBase::ensureValid ( bool  bCondition = true)
protected

◆ getPropertyName()

OUString oox::dump::AxPropertyObjectBase::getPropertyName ( ) const
protected

◆ implDump()

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

◆ implDumpExtended()

void oox::dump::AxPropertyObjectBase::implDumpExtended ( )
protectedvirtual

◆ implDumpShortProperties()

void oox::dump::AxPropertyObjectBase::implDumpShortProperties ( )
protectedvirtual

◆ implIsValid()

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

◆ setAlignAnchor()

void oox::dump::AxPropertyObjectBase::setAlignAnchor ( )
protected

◆ startNextProperty()

bool oox::dump::AxPropertyObjectBase::startNextProperty ( )
protected

Member Data Documentation

◆ maLargeProps

LargePropertyVector oox::dump::AxPropertyObjectBase::maLargeProps
private

◆ maStreamProps

std::vector< StreamProperty > oox::dump::AxPropertyObjectBase::maStreamProps
private

Definition at line 372 of file oledumper.hxx.

Referenced by dumpLargeProperties(), dumpStreamProperty(), and implDump().

◆ mb64BitPropFlags

bool oox::dump::AxPropertyObjectBase::mb64BitPropFlags
private

Definition at line 378 of file oledumper.hxx.

Referenced by constructAxPropObj(), and implDump().

◆ mbValid

bool oox::dump::AxPropertyObjectBase::mbValid
private

Definition at line 379 of file oledumper.hxx.

Referenced by constructAxPropObj(), dumpToPosition(), ensureValid(), and implDump().

◆ mnCurrProp

sal_Int64 oox::dump::AxPropertyObjectBase::mnCurrProp
private

Definition at line 377 of file oledumper.hxx.

Referenced by getPropertyName(), implDump(), and startNextProperty().

◆ mnPropertiesEnd

sal_Int64 oox::dump::AxPropertyObjectBase::mnPropertiesEnd
private

Definition at line 375 of file oledumper.hxx.

Referenced by dumpLargeProperties(), and implDump().

◆ mnPropertiesStart

sal_Int64 oox::dump::AxPropertyObjectBase::mnPropertiesStart
private

Definition at line 374 of file oledumper.hxx.

Referenced by alignInput(), and setAlignAnchor().

◆ mnPropFlags

sal_Int64 oox::dump::AxPropertyObjectBase::mnPropFlags
private

Definition at line 376 of file oledumper.hxx.

Referenced by dumpLargeProperties(), implDump(), and startNextProperty().

◆ mxPropNames

NameListRef oox::dump::AxPropertyObjectBase::mxPropNames
private

Definition at line 373 of file oledumper.hxx.

Referenced by constructAxPropObj(), getPropertyName(), and implDump().


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