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

#include <dumperbase.hxx>

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

Classes

struct  PreferredItem
 

Protected Member Functions

 StorageObjectBase ()
 
void construct (const ObjectBase &rParent, const StorageRef &rxStrg, const OUString &rSysPath)
 
void construct (const ObjectBase &rParent)
 
virtual bool implIsValid () const override
 
virtual void implDump () override
 
virtual void implDumpStream (const css::uno::Reference< css::io::XInputStream > &rxStrm, const OUString &rStrgPath, const OUString &rStrmName, const OUString &rSysFileName)
 
virtual void implDumpStorage (const StorageRef &rxStrg, const OUString &rStrgPath, const OUString &rSysPath)
 
virtual void implDumpBaseStream (const BinaryInputStreamRef &rxStrm, const OUString &rSysFileName)
 
void addPreferredStream (const String &rStrmName)
 
void addPreferredStorage (const String &rStrgPath)
 
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< PreferredItemPreferredItemVector
 

Private Member Functions

void extractStream (StorageBase &rStrg, const OUString &rStrgPath, const OUString &rStrmName, const OUString &rSysFileName)
 
void extractStorage (const StorageRef &rxStrg, const OUString &rStrgPath, const OUString &rSysPath)
 
void extractItem (const StorageRef &rxStrg, const OUString &rStrgPath, const OUString &rItemName, std::u16string_view rSysPath, bool bIsStrg, bool bIsStrm)
 

Static Private Member Functions

static OUString getSysFileName (std::u16string_view rStrmName, std::u16string_view rSysOutPath)
 

Private Attributes

StorageRef mxStrg
 
OUString maSysPath
 
PreferredItemVector maPreferred
 

Additional Inherited Members

- 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)
 

Detailed Description

Definition at line 1129 of file dumperbase.hxx.

Member Typedef Documentation

◆ PreferredItemVector

Definition at line 1191 of file dumperbase.hxx.

Constructor & Destructor Documentation

◆ StorageObjectBase()

oox::dump::StorageObjectBase::StorageObjectBase ( )
inlineprotected

Definition at line 1132 of file dumperbase.hxx.

Member Function Documentation

◆ addPreferredStorage()

void oox::dump::StorageObjectBase::addPreferredStorage ( const String rStrgPath)
protected

◆ addPreferredStream()

void oox::dump::StorageObjectBase::addPreferredStream ( const String rStrmName)
protected

◆ construct() [1/4]

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

Definition at line 1113 of file dumperbase.cxx.

◆ construct() [2/4]

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

Definition at line 1114 of file dumperbase.cxx.

References oox::dump::FlagsList::mnIgnore.

◆ construct() [3/4]

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

◆ construct() [4/4]

void oox::dump::StorageObjectBase::construct ( const ObjectBase rParent,
const StorageRef rxStrg,
const OUString &  rSysPath 
)
protected

◆ extractItem()

void oox::dump::StorageObjectBase::extractItem ( const StorageRef rxStrg,
const OUString &  rStrgPath,
const OUString &  rItemName,
std::u16string_view  rSysPath,
bool  bIsStrg,
bool  bIsStrm 
)
private

◆ extractStorage()

void oox::dump::StorageObjectBase::extractStorage ( const StorageRef rxStrg,
const OUString &  rStrgPath,
const OUString &  rSysPath 
)
private

Definition at line 1878 of file dumperbase.cxx.

References extractItem(), oox::dump::Base::isValid(), and maPreferred.

Referenced by implDump(), and implDumpStorage().

◆ extractStream()

void oox::dump::StorageObjectBase::extractStream ( StorageBase rStrg,
const OUString &  rStrgPath,
const OUString &  rStrmName,
const OUString &  rSysFileName 
)
private

◆ getSysFileName()

OUString oox::dump::StorageObjectBase::getSysFileName ( std::u16string_view  rStrmName,
std::u16string_view  rSysOutPath 
)
staticprivate

Definition at line 1847 of file dumperbase.cxx.

References aBuffer, and oox::dump::StringHelper::appendEncString().

Referenced by extractItem().

◆ implDump()

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

◆ implDumpBaseStream()

void oox::dump::StorageObjectBase::implDumpBaseStream ( const BinaryInputStreamRef rxStrm,
const OUString &  rSysFileName 
)
protectedvirtual

Reimplemented in oox::dump::ActiveXStorageObject.

Definition at line 1831 of file dumperbase.cxx.

Referenced by implDump().

◆ implDumpStorage()

void oox::dump::StorageObjectBase::implDumpStorage ( const StorageRef rxStrg,
const OUString &  rStrgPath,
const OUString &  rSysPath 
)
protectedvirtual

Reimplemented in oox::dump::VbaContainerStorageObject, and oox::dump::VbaProjectStorageObject.

Definition at line 1826 of file dumperbase.cxx.

References extractStorage().

Referenced by extractItem().

◆ implDumpStream()

void oox::dump::StorageObjectBase::implDumpStream ( const css::uno::Reference< css::io::XInputStream > &  rxStrm,
const OUString &  rStrgPath,
const OUString &  rStrmName,
const OUString &  rSysFileName 
)
protectedvirtual

◆ implIsValid()

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

Reimplemented from oox::dump::ObjectBase.

Definition at line 1786 of file dumperbase.cxx.

References oox::dump::ObjectBase::implIsValid(), maSysPath, and mxStrg.

Member Data Documentation

◆ maPreferred

PreferredItemVector oox::dump::StorageObjectBase::maPreferred
private

Definition at line 1195 of file dumperbase.hxx.

Referenced by addPreferredStorage(), addPreferredStream(), and extractStorage().

◆ maSysPath

OUString oox::dump::StorageObjectBase::maSysPath
private

Definition at line 1194 of file dumperbase.hxx.

Referenced by construct(), implDump(), and implIsValid().

◆ mxStrg

StorageRef oox::dump::StorageObjectBase::mxStrg
private

Definition at line 1193 of file dumperbase.hxx.

Referenced by construct(), implDump(), and implIsValid().


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