LibreOffice Module oox (master) 1
|
#include <dumperbase.hxx>
Public Member Functions | |
SharedConfigData (const OUString &rFileName, const css::uno::Reference< css::uno::XComponentContext > &rxContext, StorageRef xRootStrg, OUString aSysFileName) | |
virtual | ~SharedConfigData () override |
const css::uno::Reference< css::uno::XComponentContext > & | getContext () const |
const StorageRef & | getRootStorage () const |
const OUString & | getSysFileName () const |
const OUString * | getOption (const OUString &rKey) const |
template<typename ListType > | |
std::shared_ptr< ListType > | createNameList (const OUString &rListName) |
void | setNameList (const OUString &rListName, const NameListRef &rxList) |
void | eraseNameList (const OUString &rListName) |
NameListRef | getNameList (const OUString &rListName) const |
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 |
Public Member Functions inherited from oox::dump::ConfigItemBase | |
virtual | ~ConfigItemBase () |
void | readConfigBlock (TextInputStream &rStrm) |
Protected Member Functions | |
virtual bool | implIsValid () const override |
virtual void | implProcessConfigItemStr (TextInputStream &rStrm, const OUString &rKey, const OUString &rData) override |
Protected Member Functions inherited from oox::dump::Base | |
Base () | |
virtual bool | implIsValid () const =0 |
Protected Member Functions inherited from oox::dump::ConfigItemBase | |
ConfigItemBase () | |
virtual void | implProcessConfigItemStr (TextInputStream &rStrm, const OUString &rKey, const OUString &rData) |
virtual void | implProcessConfigItemInt (TextInputStream &rStrm, sal_Int64 nKey, const OUString &rData) |
void | readConfigBlockContents (TextInputStream &rStrm) |
Private Types | |
typedef ::std::set< OUString > | ConfigFileSet |
typedef ::std::map< OUString, OUString > | ConfigDataMap |
typedef ::std::map< OUString, NameListRef > | NameListMap |
Private Member Functions | |
bool | readConfigFile (const OUString &rFileUrl) |
template<typename ListType > | |
void | readNameList (TextInputStream &rStrm, const OUString &rListName) |
void | createShortList (std::u16string_view rData) |
void | createUnitConverter (std::u16string_view rData) |
Private Attributes | |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
StorageRef | mxRootStrg |
OUString | maSysFileName |
ConfigFileSet | maConfigFiles |
ConfigDataMap | maConfigData |
NameListMap | maNameLists |
OUString | maConfigPath |
bool | mbLoaded |
Additional Inherited Members | |
Static Public Member Functions inherited from oox::dump::Base | |
static bool | isValid (const std::shared_ptr< Base > &rxBase) |
Definition at line 758 of file dumperbase.hxx.
|
private |
Definition at line 797 of file dumperbase.hxx.
|
private |
Definition at line 796 of file dumperbase.hxx.
|
private |
Definition at line 798 of file dumperbase.hxx.
|
explicit |
Definition at line 1264 of file dumperbase.cxx.
References oox::dump::InputOutputHelper::convertFileNameToUrl(), oox::dump::InputOutputHelper::getFileNamePos(), maConfigPath, mbLoaded, mxContext, and readConfigFile().
|
overridevirtual |
Definition at line 1281 of file dumperbase.cxx.
std::shared_ptr< ListType > oox::dump::SharedConfigData::createNameList | ( | const OUString & | rListName | ) |
Definition at line 812 of file dumperbase.hxx.
References setNameList().
|
private |
Definition at line 1354 of file dumperbase.cxx.
References oox::dump::StringHelper::convertStringToInt(), and oox::dump::StringHelper::convertStringToStringList().
Referenced by implProcessConfigItemStr().
|
private |
Definition at line 1373 of file dumperbase.cxx.
References oox::dump::StringHelper::convertStringToStringList().
Referenced by implProcessConfigItemStr().
void oox::dump::SharedConfigData::eraseNameList | ( | const OUString & | rListName | ) |
Definition at line 1297 of file dumperbase.cxx.
References maNameLists.
|
inline |
Definition at line 769 of file dumperbase.hxx.
References mxContext.
NameListRef oox::dump::SharedConfigData::getNameList | ( | const OUString & | rListName | ) | const |
Definition at line 1302 of file dumperbase.cxx.
References maNameLists.
Referenced by oox::dump::NameListBase::include().
const OUString * oox::dump::SharedConfigData::getOption | ( | const OUString & | rKey | ) | const |
Definition at line 1285 of file dumperbase.cxx.
References maConfigData.
|
inline |
Definition at line 770 of file dumperbase.hxx.
References mxRootStrg.
|
inline |
Definition at line 771 of file dumperbase.hxx.
References maSysFileName.
|
overrideprotectedvirtual |
Implements oox::dump::Base.
Definition at line 1311 of file dumperbase.cxx.
References maSysFileName, mbLoaded, mxContext, and mxRootStrg.
|
overrideprotectedvirtual |
Reimplemented from oox::dump::ConfigItemBase.
Definition at line 1316 of file dumperbase.cxx.
References createShortList(), createUnitConverter(), maConfigData, maConfigPath, readConfigFile(), and rStrm.
|
private |
Definition at line 1337 of file dumperbase.cxx.
References oox::TextInputStream::isEof(), maConfigFiles, mxContext, oox::dump::InputOutputHelper::openInputStream(), and oox::dump::ConfigItemBase::readConfigBlockContents().
Referenced by implProcessConfigItemStr(), and SharedConfigData().
|
private |
Definition at line 824 of file dumperbase.hxx.
References rStrm.
void oox::dump::SharedConfigData::setNameList | ( | const OUString & | rListName, |
const NameListRef & | rxList | ||
) |
Definition at line 1291 of file dumperbase.cxx.
References maNameLists.
Referenced by createNameList().
|
private |
Definition at line 804 of file dumperbase.hxx.
Referenced by getOption(), and implProcessConfigItemStr().
|
private |
Definition at line 803 of file dumperbase.hxx.
Referenced by readConfigFile().
|
private |
Definition at line 806 of file dumperbase.hxx.
Referenced by implProcessConfigItemStr(), and SharedConfigData().
|
private |
Definition at line 805 of file dumperbase.hxx.
Referenced by eraseNameList(), getNameList(), and setNameList().
|
private |
Definition at line 802 of file dumperbase.hxx.
Referenced by getSysFileName(), and implIsValid().
|
private |
Definition at line 807 of file dumperbase.hxx.
Referenced by implIsValid(), and SharedConfigData().
|
private |
Definition at line 800 of file dumperbase.hxx.
Referenced by getContext(), implIsValid(), and readConfigFile().
|
private |
Definition at line 801 of file dumperbase.hxx.
Referenced by getRootStorage(), and implIsValid().