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)
 
- Protected Member Functions inherited from oox::dump::ObjectBase
 ObjectBase ()
 
void construct (const ConfigRef &rxConfig)
 
void construct (const ObjectBase &rParent)
 
Configcfg () const
 
- Protected Member Functions inherited from oox::dump::Base
 Base ()
 

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 (const OUString &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

Definition at line 1191 of file dumperbase.hxx.

Constructor & Destructor Documentation

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

Definition at line 1132 of file dumperbase.hxx.

Member Function Documentation

void oox::dump::StorageObjectBase::addPreferredStorage ( const String rStrgPath)
protected
void oox::dump::StorageObjectBase::addPreferredStream ( const String rStrmName)
protected
void oox::dump::StorageObjectBase::construct ( const ObjectBase rParent,
const StorageRef rxStrg,
const OUString &  rSysPath 
)
protected
void oox::dump::StorageObjectBase::construct ( const ObjectBase rParent)
protected
void oox::dump::StorageObjectBase::extractItem ( const StorageRef rxStrg,
const OUString &  rStrgPath,
const OUString &  rItemName,
std::u16string_view  rSysPath,
bool  bIsStrg,
bool  bIsStrm 
)
private
void oox::dump::StorageObjectBase::extractStorage ( const StorageRef rxStrg,
const OUString &  rStrgPath,
const OUString &  rSysPath 
)
private

Definition at line 1871 of file dumperbase.cxx.

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

Referenced by implDump(), and implDumpStorage().

void oox::dump::StorageObjectBase::extractStream ( StorageBase rStrg,
const OUString &  rStrgPath,
const OUString &  rStrmName,
const OUString &  rSysFileName 
)
private
OUString oox::dump::StorageObjectBase::getSysFileName ( const OUString &  rStrmName,
std::u16string_view  rSysOutPath 
)
staticprivate

Definition at line 1840 of file dumperbase.cxx.

References oox::dump::StringHelper::appendEncString().

Referenced by extractItem().

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

Reimplemented in oox::dump::ActiveXStorageObject.

Definition at line 1824 of file dumperbase.cxx.

Referenced by implDump().

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

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

Definition at line 1819 of file dumperbase.cxx.

References extractStorage().

Referenced by extractItem().

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

Reimplemented from oox::dump::ObjectBase.

Definition at line 1779 of file dumperbase.cxx.

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

Member Data Documentation

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

Definition at line 1195 of file dumperbase.hxx.

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

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

Definition at line 1194 of file dumperbase.hxx.

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

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: