|
LibreOffice Module oox (master) 1
|
#include <dumperbase.hxx>
Public Member Functions | |
| Config (const char *pcEnvVar, const ::oox::core::FilterBase &rFilter) | |
| Config (const char *pcEnvVar, const css::uno::Reference< css::uno::XComponentContext > &rxContext, const StorageRef &rxRootStrg, const OUString &rSysFileName) | |
| virtual | ~Config () override |
| Config (Config const &)=default | |
| Config (Config &&)=default | |
| Config & | operator= (Config const &)=default |
| Config & | operator= (Config &&)=default |
| const css::uno::Reference< css::uno::XComponentContext > & | getContext () const |
| const StorageRef & | getRootStorage () const |
| const OUString & | getSysFileName () const |
| const OUString & | getStringOption (const String &rKey, const OUString &rDefault) const |
| bool | getBoolOption (const String &rKey, bool bDefault) const |
| template<typename Type > | |
| Type | getIntOption (const String &rKey, Type nDefault) const |
| bool | isDumperEnabled () const |
| bool | isImportEnabled () const |
| template<typename ListType > | |
| std::shared_ptr< ListType > | createNameList (const String &rListName) |
| void | eraseNameList (const String &rListName) |
| NameListRef | getNameList (const String &rListName) const |
| template<typename Type > | |
| OUString | getName (const NameListWrapper &rListWrp, Type nKey) const |
| Returns the name for the passed key from the passed name list. More... | |
| template<typename Type > | |
| bool | hasName (const NameListWrapper &rListWrp, Type nKey) const |
| Returns true, if the passed name list contains an entry for the passed key. More... | |
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 | |
| Config () | |
| void | construct (const char *pcEnvVar, const ::oox::core::FilterBase &rFilter) |
| void | construct (const char *pcEnvVar, const css::uno::Reference< css::uno::XComponentContext > &rxContext, const StorageRef &rxRootStrg, const OUString &rSysFileName) |
| virtual bool | implIsValid () const override |
| const OUString * | implGetOption (const OUString &rKey) const |
Protected Member Functions inherited from oox::dump::Base | |
| Base () | |
| virtual bool | implIsValid () const =0 |
Private Attributes | |
| std::shared_ptr< SharedConfigData > | mxCfgData |
Additional Inherited Members | |
Static Public Member Functions inherited from oox::dump::Base | |
| static bool | isValid (const std::shared_ptr< Base > &rxBase) |
Definition at line 832 of file dumperbase.hxx.
|
explicit |
|
explicit |
|
overridevirtual |
Definition at line 1407 of file dumperbase.cxx.
|
default |
|
default |
|
inlineprotected |
Definition at line 876 of file dumperbase.hxx.
|
protected |
|
protected |
| std::shared_ptr< ListType > Config::createNameList | ( | const String & | rListName | ) |
Definition at line 906 of file dumperbase.hxx.
References mxCfgData.
Referenced by oox::dump::OlePropertyStreamObject::dumpSection().
| void Config::eraseNameList | ( | const String & | rListName | ) |
Definition at line 1446 of file dumperbase.cxx.
References mxCfgData.
Referenced by oox::dump::OlePropertyStreamObject::dumpSection().
| bool Config::getBoolOption | ( | const String & | rKey, |
| bool | bDefault | ||
| ) | const |
Definition at line 1430 of file dumperbase.cxx.
References oox::dump::StringHelper::convertStringToBool(), implGetOption(), and pData.
Referenced by oox::dump::RecordObjectBase::constructRecObjBase(), isDumperEnabled(), and isImportEnabled().
|
inline |
Definition at line 851 of file dumperbase.hxx.
References mxCfgData.
Definition at line 897 of file dumperbase.hxx.
References oox::dump::StringHelper::convertStringToInt(), implGetOption(), and pData.
Referenced by oox::dump::InputObjectBase::dumpRawBinary().
| OUString Config::getName | ( | const NameListWrapper & | rListWrp, |
| Type | nKey | ||
| ) | const |
Returns the name for the passed key from the passed name list.
Definition at line 912 of file dumperbase.hxx.
References oox::dump::NameListWrapper::getNameList(), and OOX_DUMP_ERR_NOMAP.
Referenced by oox::dump::AxPropertyObjectBase::getPropertyName(), oox::dump::VbaFormSiteObject::implDumpShortProperties(), oox::dump::CombiList::implGetName(), and oox::dump::Output::writeName().
| NameListRef Config::getNameList | ( | const String & | rListName | ) | const |
Definition at line 1451 of file dumperbase.cxx.
References mxCfgData.
Referenced by oox::dump::AxPropertyObjectBase::constructAxPropObj(), and oox::dump::NameListWrapper::getNameList().
|
inline |
Definition at line 852 of file dumperbase.hxx.
References mxCfgData.
Referenced by oox::dump::StorageObjectBase::construct().
| const OUString & Config::getStringOption | ( | const String & | rKey, |
| const OUString & | rDefault | ||
| ) | const |
Definition at line 1424 of file dumperbase.cxx.
References implGetOption(), and pData.
Referenced by oox::dump::ComCtlObjectBase::dumpComCtlComplex(), oox::dump::AxPropertyObjectBase::dumpLargeProperties(), oox::dump::OlePropertyStreamObject::dumpSection(), and oox::dump::FormControlStreamObject::implDump().
|
inline |
Definition at line 853 of file dumperbase.hxx.
References mxCfgData.
Referenced by oox::dump::StorageObjectBase::construct().
| bool Config::hasName | ( | const NameListWrapper & | rListWrp, |
| Type | nKey | ||
| ) | const |
Returns true, if the passed name list contains an entry for the passed key.
Definition at line 919 of file dumperbase.hxx.
References oox::dump::NameListWrapper::getNameList().
|
protected |
Definition at line 1461 of file dumperbase.cxx.
References mxCfgData.
Referenced by getBoolOption(), getIntOption(), and getStringOption().
|
overrideprotectedvirtual |
Implements oox::dump::Base.
Definition at line 1456 of file dumperbase.cxx.
References oox::dump::Base::isValid(), and mxCfgData.
| bool Config::isDumperEnabled | ( | ) | const |
Definition at line 1436 of file dumperbase.cxx.
References getBoolOption().
| bool Config::isImportEnabled | ( | ) | const |
Definition at line 1441 of file dumperbase.cxx.
References getBoolOption().
Referenced by oox::dump::DumperBase::isImportEnabled().
|
private |
Definition at line 890 of file dumperbase.hxx.
Referenced by createNameList(), eraseNameList(), getContext(), getNameList(), getRootStorage(), getSysFileName(), implGetOption(), and implIsValid().