LibreOffice Module oox (master) 1
|
#include <dumperbase.hxx>
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 () |
Config & | cfg () const |
Protected Member Functions inherited from oox::dump::Base | |
Base () | |
virtual bool | implIsValid () const =0 |
Private Types | |
typedef ::std::vector< PreferredItem > | PreferredItemVector |
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 | |
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 |
Static Public Member Functions inherited from oox::dump::Base | |
static bool | isValid (const std::shared_ptr< Base > &rxBase) |
Definition at line 1129 of file dumperbase.hxx.
|
private |
Definition at line 1191 of file dumperbase.hxx.
|
inlineprotected |
Definition at line 1132 of file dumperbase.hxx.
|
protected |
Definition at line 1841 of file dumperbase.cxx.
References oox::dump::String::has(), and maPreferred.
Referenced by oox::dump::VbaProjectStorageObject::VbaProjectStorageObject().
|
protected |
Definition at line 1835 of file dumperbase.cxx.
References oox::dump::String::has(), and maPreferred.
Referenced by oox::dump::VbaContainerStorageObject::VbaContainerStorageObject(), and oox::dump::VbaStorageObject::VbaStorageObject().
|
protected |
Definition at line 1113 of file dumperbase.cxx.
|
protected |
Definition at line 1114 of file dumperbase.cxx.
References oox::dump::FlagsList::mnIgnore.
|
protected |
Definition at line 1776 of file dumperbase.cxx.
References oox::dump::ObjectBase::cfg(), oox::dump::ObjectBase::construct(), oox::dump::Config::getRootStorage(), oox::dump::Config::getSysFileName(), oox::dump::ObjectBase::implIsValid(), maSysPath, and mxStrg.
|
protected |
Definition at line 1769 of file dumperbase.cxx.
References oox::dump::ObjectBase::construct(), maSysPath, and mxStrg.
Referenced by oox::dump::pptx::RootStorageObject::RootStorageObject().
|
private |
Definition at line 1912 of file dumperbase.cxx.
References oox::dump::StringHelper::appendToken(), extractStream(), getSysFileName(), and implDumpStorage().
Referenced by extractStorage().
|
private |
Definition at line 1878 of file dumperbase.cxx.
References extractItem(), oox::dump::Base::isValid(), and maPreferred.
Referenced by implDump(), and implDumpStorage().
|
private |
Definition at line 1864 of file dumperbase.cxx.
References oox::BinaryInputStream::copyToStream(), oox::dump::ObjectBase::getContext(), implDumpStream(), oox::BinaryStreamBase::isEof(), oox::dump::InputOutputHelper::openInputStream(), oox::StorageBase::openInputStream(), and oox::dump::InputOutputHelper::openOutputStream().
Referenced by extractItem().
|
staticprivate |
Definition at line 1847 of file dumperbase.cxx.
References aBuffer, and oox::dump::StringHelper::appendEncString().
Referenced by extractItem().
|
overrideprotectedvirtual |
Reimplemented from oox::dump::ObjectBase.
Definition at line 1791 of file dumperbase.cxx.
References Exception, extractStorage(), oox::dump::ObjectBase::getContext(), implDumpBaseStream(), maSysPath, mxStrg, and OOX_DUMP_DUMPEXT.
|
protectedvirtual |
Reimplemented in oox::dump::ActiveXStorageObject.
Definition at line 1831 of file dumperbase.cxx.
Referenced by implDump().
|
protectedvirtual |
Reimplemented in oox::dump::VbaContainerStorageObject, and oox::dump::VbaProjectStorageObject.
Definition at line 1826 of file dumperbase.cxx.
References extractStorage().
Referenced by extractItem().
|
protectedvirtual |
Reimplemented in oox::dump::OleStorageObject, oox::dump::VbaContainerStorageObject, oox::dump::VbaStorageObject, oox::dump::VbaFormStorageObject, oox::dump::VbaProjectStorageObject, oox::dump::pptx::RootStorageObject, and oox::dump::xlsb::RootStorageObject.
Definition at line 1822 of file dumperbase.cxx.
Referenced by extractStream().
|
overrideprotectedvirtual |
Reimplemented from oox::dump::ObjectBase.
Definition at line 1786 of file dumperbase.cxx.
References oox::dump::ObjectBase::implIsValid(), maSysPath, and mxStrg.
|
private |
Definition at line 1195 of file dumperbase.hxx.
Referenced by addPreferredStorage(), addPreferredStream(), and extractStorage().
|
private |
Definition at line 1194 of file dumperbase.hxx.
Referenced by construct(), implDump(), and implIsValid().
|
private |
Definition at line 1193 of file dumperbase.hxx.
Referenced by construct(), implDump(), and implIsValid().