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

#include <dumperbase.hxx>

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

Public Member Functions

 SharedConfigData (const OUString &rFileName, const css::uno::Reference< css::uno::XComponentContext > &rxContext, const StorageRef &rxRootStrg, const OUString &rSysFileName)
 
virtual ~SharedConfigData () override
 
const css::uno::Reference< css::uno::XComponentContext > & getContext () const
 
const StorageRefgetRootStorage () 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
 
Baseoperator= (Base const &)=default
 
Baseoperator= (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 ()
 
- Protected Member Functions inherited from oox::dump::ConfigItemBase
 ConfigItemBase ()
 
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, NameListRefNameListMap
 

Private Member Functions

bool readConfigFile (const OUString &rFileUrl)
 
template<typename ListType >
void readNameList (TextInputStream &rStrm, const OUString &rListName)
 
void createShortList (const OUString &rData)
 
void createUnitConverter (const OUString &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)
 

Detailed Description

Definition at line 758 of file dumperbase.hxx.

Member Typedef Documentation

typedef ::std::map< OUString, OUString > oox::dump::SharedConfigData::ConfigDataMap
private

Definition at line 797 of file dumperbase.hxx.

Definition at line 796 of file dumperbase.hxx.

Definition at line 798 of file dumperbase.hxx.

Constructor & Destructor Documentation

oox::dump::SharedConfigData::SharedConfigData ( const OUString &  rFileName,
const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
const StorageRef rxRootStrg,
const OUString &  rSysFileName 
)
explicit
oox::dump::SharedConfigData::~SharedConfigData ( )
overridevirtual

Definition at line 1274 of file dumperbase.cxx.

Member Function Documentation

template<typename ListType >
std::shared_ptr< ListType > oox::dump::SharedConfigData::createNameList ( const OUString &  rListName)

Definition at line 812 of file dumperbase.hxx.

References setNameList().

void oox::dump::SharedConfigData::createShortList ( const OUString &  rData)
private
void oox::dump::SharedConfigData::createUnitConverter ( const OUString &  rData)
private
void oox::dump::SharedConfigData::eraseNameList ( const OUString &  rListName)

Definition at line 1290 of file dumperbase.cxx.

References maNameLists.

const css::uno::Reference< css::uno::XComponentContext >& oox::dump::SharedConfigData::getContext ( ) const
inline

Definition at line 769 of file dumperbase.hxx.

References mxContext.

NameListRef oox::dump::SharedConfigData::getNameList ( const OUString &  rListName) const

Definition at line 1295 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 1278 of file dumperbase.cxx.

References maConfigData.

const StorageRef& oox::dump::SharedConfigData::getRootStorage ( ) const
inline

Definition at line 770 of file dumperbase.hxx.

References mxRootStrg.

const OUString& oox::dump::SharedConfigData::getSysFileName ( ) const
inline

Definition at line 771 of file dumperbase.hxx.

References maSysFileName.

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

Implements oox::dump::Base.

Definition at line 1304 of file dumperbase.cxx.

References maSysFileName, mbLoaded, mxContext, and mxRootStrg.

void oox::dump::SharedConfigData::implProcessConfigItemStr ( TextInputStream rStrm,
const OUString &  rKey,
const OUString &  rData 
)
overrideprotectedvirtual
bool oox::dump::SharedConfigData::readConfigFile ( const OUString &  rFileUrl)
private
template<typename ListType >
void oox::dump::SharedConfigData::readNameList ( TextInputStream rStrm,
const OUString &  rListName 
)
private

Definition at line 824 of file dumperbase.hxx.

void oox::dump::SharedConfigData::setNameList ( const OUString &  rListName,
const NameListRef rxList 
)

Definition at line 1284 of file dumperbase.cxx.

References maNameLists.

Referenced by createNameList().

Member Data Documentation

ConfigDataMap oox::dump::SharedConfigData::maConfigData
private

Definition at line 804 of file dumperbase.hxx.

Referenced by getOption(), and implProcessConfigItemStr().

ConfigFileSet oox::dump::SharedConfigData::maConfigFiles
private

Definition at line 803 of file dumperbase.hxx.

Referenced by readConfigFile().

OUString oox::dump::SharedConfigData::maConfigPath
private

Definition at line 806 of file dumperbase.hxx.

Referenced by implProcessConfigItemStr(), and SharedConfigData().

NameListMap oox::dump::SharedConfigData::maNameLists
private

Definition at line 805 of file dumperbase.hxx.

Referenced by eraseNameList(), getNameList(), and setNameList().

OUString oox::dump::SharedConfigData::maSysFileName
private

Definition at line 802 of file dumperbase.hxx.

Referenced by getSysFileName(), and implIsValid().

bool oox::dump::SharedConfigData::mbLoaded
private

Definition at line 807 of file dumperbase.hxx.

Referenced by implIsValid(), and SharedConfigData().

css::uno::Reference< css::uno::XComponentContext > oox::dump::SharedConfigData::mxContext
private

Definition at line 800 of file dumperbase.hxx.

Referenced by getContext(), implIsValid(), and readConfigFile().

StorageRef oox::dump::SharedConfigData::mxRootStrg
private

Definition at line 801 of file dumperbase.hxx.

Referenced by getRootStorage(), and implIsValid().


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