LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
numfunc::SwDefBulletConfig Class Reference

class containing default bullet list configuration data More...

Inheritance diagram for numfunc::SwDefBulletConfig:
[legend]
Collaboration diagram for numfunc::SwDefBulletConfig:
[legend]

Public Member Functions

const OUString & GetFontname () const
 
bool IsFontnameUserDefined () const
 
const vcl::FontGetFont () const
 
sal_Unicode GetChar (sal_uInt8 p_nListLevel) const
 
 SwDefBulletConfig ()
 

Static Public Member Functions

static SwDefBulletConfiggetInstance ()
 

Private Member Functions

void SetToDefault ()
 sets internal default bullet configuration data to default values More...
 
void LoadConfig ()
 loads default bullet configuration properties and applies values to internal data More...
 
void InitFont ()
 initialize font instance for default bullet list More...
 
virtual void Notify (const uno::Sequence< OUString > &aPropertyNames) override
 catches notification about changed default bullet configuration data More...
 
virtual void ImplCommit () override
 
- Private Member Functions inherited from utl::ConfigItem
virtual ~ConfigItem () override
 
 ConfigItem (ConfigItem const &)=default
 
 ConfigItem (ConfigItem &&)=default
 
ConfigItemoperator= (ConfigItem const &)=delete
 
ConfigItemoperator= (ConfigItem &&)=delete
 
virtual void Notify (const css::uno::Sequence< OUString > &aPropertyNames)=0
 
const OUString & GetSubTreeName () const
 
bool IsModified () const
 
void Commit ()
 
ConfigItemMode GetMode () const
 
 ConfigItem (const OUString &rSubTree, ConfigItemMode nMode=ConfigItemMode::NONE)
 
void SetModified ()
 
void ClearModified ()
 
css::uno::Sequence< css::uno::Any > GetProperties (const css::uno::Sequence< OUString > &rNames)
 
css::uno::Sequence< sal_BoolGetReadOnlyStates (const css::uno::Sequence< OUString > &rNames)
 
bool PutProperties (const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues)
 
bool EnableNotification (const css::uno::Sequence< OUString > &rNames, bool bEnableInternalNotification=false)
 
void DisableNotification ()
 
css::uno::Sequence< OUString > GetNodeNames (const OUString &rNode)
 
css::uno::Sequence< OUString > GetNodeNames (const OUString &rNode, ConfigNameFormat eFormat)
 
bool ClearNodeSet (const OUString &rNode)
 
bool ClearNodeElements (const OUString &rNode, css::uno::Sequence< OUString > const &rElements)
 
bool SetSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
bool ReplaceSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
bool AddNode (const OUString &rNode, const OUString &rNewNode)
 
- Private Member Functions inherited from utl::ConfigurationBroadcaster
void AddListener (utl::ConfigurationListener *pListener)
 
void RemoveListener (utl::ConfigurationListener const *pListener)
 
void NotifyListeners (ConfigurationHints nHint)
 
 ConfigurationBroadcaster ()
 
 ConfigurationBroadcaster (ConfigurationBroadcaster const &)
 
virtual ~ConfigurationBroadcaster ()
 
ConfigurationBroadcasteroperator= (ConfigurationBroadcaster const &other)
 
virtual void BlockBroadcasts (bool bBlock)
 

Static Private Member Functions

static uno::Sequence< OUString > GetPropNames ()
 returns sequence of default bullet configuration property names More...
 

Private Attributes

OUString msFontname
 
bool mbUserDefinedFontname
 
FontWeight meFontWeight
 
FontItalic meFontItalic
 
sal_Unicode mnLevelChars [MAXLEVEL]
 
std::unique_ptr< vcl::FontmpFont
 

Detailed Description

class containing default bullet list configuration data

Definition at line 1047 of file number.cxx.

Constructor & Destructor Documentation

numfunc::SwDefBulletConfig::SwDefBulletConfig ( )

Member Function Documentation

sal_Unicode numfunc::SwDefBulletConfig::GetChar ( sal_uInt8  p_nListLevel) const
inline

Definition at line 1067 of file number.cxx.

References MAXLEVEL, and mnLevelChars.

Referenced by numfunc::GetBulletChar().

const vcl::Font& numfunc::SwDefBulletConfig::GetFont ( ) const
inline

Definition at line 1062 of file number.cxx.

References mpFont.

Referenced by numfunc::GetDefBulletFont().

const OUString& numfunc::SwDefBulletConfig::GetFontname ( ) const
inline

Definition at line 1052 of file number.cxx.

References msFontname.

Referenced by numfunc::GetDefBulletFontname().

SwDefBulletConfig & numfunc::SwDefBulletConfig::getInstance ( )
static
uno::Sequence< OUString > numfunc::SwDefBulletConfig::GetPropNames ( )
staticprivate

returns sequence of default bullet configuration property names

Definition at line 1154 of file number.cxx.

Referenced by LoadConfig(), and SwDefBulletConfig().

void numfunc::SwDefBulletConfig::ImplCommit ( )
overrideprivatevirtual

Implements utl::ConfigItem.

Definition at line 1248 of file number.cxx.

void numfunc::SwDefBulletConfig::InitFont ( )
private

initialize font instance for default bullet list

Definition at line 1233 of file number.cxx.

References meFontItalic, meFontWeight, mpFont, and msFontname.

Referenced by Notify(), and SwDefBulletConfig().

bool numfunc::SwDefBulletConfig::IsFontnameUserDefined ( ) const
inline

Definition at line 1057 of file number.cxx.

References mbUserDefinedFontname.

Referenced by numfunc::IsDefBulletFontUserDefined().

void numfunc::SwDefBulletConfig::LoadConfig ( )
private

loads default bullet configuration properties and applies values to internal data

Definition at line 1175 of file number.cxx.

References aStr, utl::ConfigItem::GetProperties(), GetPropNames(), mbUserDefinedFontname, meFontItalic, meFontWeight, mnLevelChars, and msFontname.

Referenced by Notify(), and SwDefBulletConfig().

void numfunc::SwDefBulletConfig::Notify ( const uno::Sequence< OUString > &  aPropertyNames)
overrideprivatevirtual

catches notification about changed default bullet configuration data

Definition at line 1241 of file number.cxx.

References InitFont(), LoadConfig(), and SetToDefault().

void numfunc::SwDefBulletConfig::SetToDefault ( )
private

sets internal default bullet configuration data to default values

Definition at line 1135 of file number.cxx.

References ITALIC_NONE, mbUserDefinedFontname, meFontItalic, meFontWeight, mnLevelChars, msFontname, and WEIGHT_DONTKNOW.

Referenced by Notify(), and SwDefBulletConfig().

Member Data Documentation

bool numfunc::SwDefBulletConfig::mbUserDefinedFontname
private

Definition at line 1099 of file number.cxx.

Referenced by IsFontnameUserDefined(), LoadConfig(), and SetToDefault().

FontItalic numfunc::SwDefBulletConfig::meFontItalic
private

Definition at line 1101 of file number.cxx.

Referenced by InitFont(), LoadConfig(), and SetToDefault().

FontWeight numfunc::SwDefBulletConfig::meFontWeight
private

Definition at line 1100 of file number.cxx.

Referenced by InitFont(), LoadConfig(), and SetToDefault().

sal_Unicode numfunc::SwDefBulletConfig::mnLevelChars[MAXLEVEL]
private

Definition at line 1102 of file number.cxx.

Referenced by GetChar(), LoadConfig(), and SetToDefault().

std::unique_ptr<vcl::Font> numfunc::SwDefBulletConfig::mpFont
private

Definition at line 1105 of file number.cxx.

Referenced by GetFont(), and InitFont().

OUString numfunc::SwDefBulletConfig::msFontname
private

Definition at line 1098 of file number.cxx.

Referenced by GetFontname(), InitFont(), LoadConfig(), and SetToDefault().


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