LibreOffice Module oox (master) 1
|
#include <dumperbase.hxx>
Public Member Functions | |
FlagsList (const SharedConfigData &rCfgData) | |
sal_Int64 | getIgnoreFlags () const |
Returns the flags to be ignored on output. More... | |
void | setIgnoreFlags (sal_Int64 nIgnore) |
Sets flags to be ignored on output. More... | |
Public Member Functions inherited from oox::dump::NameListBase | |
virtual | ~NameListBase () override |
void | setName (sal_Int64 nKey, const String &rName) |
Sets a name for the specified key. More... | |
void | includeList (const NameListRef &rxList) |
Include all names of the passed list. More... | |
template<typename Type > | |
bool | hasName (Type nKey) const |
Returns true, if the map contains an entry for the passed key. More... | |
template<typename Type > | |
OUString | getName (const Config &rCfg, Type nKey) const |
Returns the name for the passed key. More... | |
OUString | getName (const Config &rCfg, double fValue) const |
Returns a display name for the passed double value. More... | |
const_iterator | begin () const |
Returns a map iterator pointing to the first contained name. More... | |
const_iterator | end () const |
Returns a map iterator pointing one past the last contained name. 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 |
Public Member Functions inherited from oox::dump::ConfigItemBase | |
virtual | ~ConfigItemBase () |
void | readConfigBlock (TextInputStream &rStrm) |
Protected Member Functions | |
virtual void | implProcessConfigItemStr (TextInputStream &rStrm, const OUString &rKey, const OUString &rData) override |
virtual void | implSetName (sal_Int64 nKey, const OUString &rName) override |
Sets the name for the passed key. More... | |
virtual OUString | implGetName (const Config &rCfg, sal_Int64 nKey) const override |
Returns the name for the passed key. More... | |
virtual OUString | implGetNameDbl (const Config &rCfg, double fValue) const override |
Returns the name for the passed double value. More... | |
virtual void | implIncludeList (const NameListBase &rList) override |
Inserts all flags from the passed list. More... | |
Protected Member Functions inherited from oox::dump::NameListBase | |
NameListBase (const SharedConfigData &rCfgData) | |
virtual bool | implIsValid () const override |
virtual void | implProcessConfigItemStr (TextInputStream &rStrm, const OUString &rKey, const OUString &rData) override |
virtual void | implProcessConfigItemInt (TextInputStream &rStrm, sal_Int64 nKey, const OUString &rData) override |
virtual void | implSetName (sal_Int64 nKey, const OUString &rName)=0 |
Derived classes set the name for the passed key. More... | |
virtual OUString | implGetName (const Config &rCfg, sal_Int64 nKey) const =0 |
Derived classes generate and return the name for the passed key. More... | |
virtual OUString | implGetNameDbl (const Config &rCfg, double fValue) const =0 |
Derived classes generate and return the name for the passed double value. More... | |
virtual void | implIncludeList (const NameListBase &rList)=0 |
Derived classes insert all names and other settings from the passed list. More... | |
void | insertRawName (sal_Int64 nKey, const OUString &rName) |
Inserts the passed name into the internal map. More... | |
const OUString * | findRawName (sal_Int64 nKey) const |
Returns the name for the passed key, or 0, if nothing found. More... | |
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 Attributes | |
sal_Int64 | mnIgnore |
Additional Inherited Members | |
Public Types inherited from oox::dump::NameListBase | |
typedef ::std::map< sal_Int64, OUString > | OUStringMap |
typedef OUStringMap::const_iterator | const_iterator |
Static Public Member Functions inherited from oox::dump::Base | |
static bool | isValid (const std::shared_ptr< Base > &rxBase) |
Definition at line 634 of file dumperbase.hxx.
|
explicit |
Definition at line 1029 of file dumperbase.cxx.
|
inline |
Returns the flags to be ignored on output.
Definition at line 640 of file dumperbase.hxx.
References mnIgnore.
|
overrideprotectedvirtual |
Returns the name for the passed key.
Implements oox::dump::NameListBase.
Reimplemented in oox::dump::CombiList.
Definition at line 1056 of file dumperbase.cxx.
References aName, oox::dump::StringHelper::appendShortHex(), oox::dump::StringHelper::appendToken(), oox::dump::NameListBase::begin(), oox::dump::StringHelper::enclose(), oox::dump::NameListBase::end(), oox::getFlag(), mnIgnore, oox::dump::OOX_DUMP_UNKNOWN, and oox::setFlag().
|
overrideprotectedvirtual |
Returns the name for the passed double value.
Implements oox::dump::NameListBase.
Definition at line 1108 of file dumperbase.cxx.
|
overrideprotectedvirtual |
Inserts all flags from the passed list.
Implements oox::dump::NameListBase.
Reimplemented in oox::dump::CombiList.
Definition at line 1113 of file dumperbase.cxx.
Referenced by oox::dump::CombiList::implIncludeList().
|
overrideprotectedvirtual |
Reimplemented from oox::dump::NameListBase.
Definition at line 1035 of file dumperbase.cxx.
References oox::dump::StringHelper::convertStringToInt(), oox::dump::NameListBase::implProcessConfigItemStr(), rStrm, and setIgnoreFlags().
|
overrideprotectedvirtual |
Sets the name for the passed key.
Implements oox::dump::NameListBase.
Reimplemented in oox::dump::CombiList.
Definition at line 1050 of file dumperbase.cxx.
References oox::dump::NameListBase::insertRawName().
|
inline |
Sets flags to be ignored on output.
Definition at line 642 of file dumperbase.hxx.
References mnIgnore.
Referenced by implProcessConfigItemStr().
|
private |
Definition at line 660 of file dumperbase.hxx.
Referenced by oox::dump::StorageObjectBase::construct(), getIgnoreFlags(), implGetName(), and setIgnoreFlags().