LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SwToolbarConfigItem Class Referencefinal

#include <barcfg.hxx>

Inheritance diagram for SwToolbarConfigItem:
[legend]
Collaboration diagram for SwToolbarConfigItem:
[legend]

Public Member Functions

 SwToolbarConfigItem (bool bWeb)
 
virtual ~SwToolbarConfigItem () override
 
virtual void Notify (const css::uno::Sequence< OUString > &aPropertyNames) override
 
void SetTopToolbar (SelectionType nSelType, ToolbarId eBarId)
 
- Public 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
 
- Public 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)
 

Private Member Functions

virtual void ImplCommit () override
 

Static Private Member Functions

static css::uno::Sequence< OUString > GetPropertyNames ()
 

Private Attributes

sal_Int32 m_aTbxIdArray [5]
 

Additional Inherited Members

- Static Public Member Functions inherited from utl::ConfigItem
static css::uno::Sequence< OUString > GetNodeNames (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, ConfigNameFormat eFormat)
 
static css::uno::Sequence< css::uno::Any > GetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const css::uno::Sequence< OUString > &rNames, bool bAllLocales)
 
static bool PutProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues, bool bAllLocales)
 
static bool ClearNodeSet (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode)
 
static bool ReplaceSetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues, bool bAllLocales)
 
static bool SetSetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
- Protected Member Functions inherited from utl::ConfigItem
 ConfigItem (OUString aSubTree, 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)
 

Detailed Description

Definition at line 27 of file barcfg.hxx.

Constructor & Destructor Documentation

◆ SwToolbarConfigItem()

SwToolbarConfigItem::SwToolbarConfigItem ( bool  bWeb)

◆ ~SwToolbarConfigItem()

SwToolbarConfigItem::~SwToolbarConfigItem ( )
overridevirtual

Definition at line 59 of file barcfg.cxx.

Member Function Documentation

◆ GetPropertyNames()

Sequence< OUString > SwToolbarConfigItem::GetPropertyNames ( )
staticprivate

Definition at line 92 of file barcfg.cxx.

References aPropNames, i, and nCount.

Referenced by ImplCommit(), and SwToolbarConfigItem().

◆ ImplCommit()

void SwToolbarConfigItem::ImplCommit ( )
overrideprivatevirtual

Implements utl::ConfigItem.

Definition at line 110 of file barcfg.cxx.

References Any, GetPropertyNames(), m_aTbxIdArray, utl::ConfigItem::PutProperties(), and pValues.

◆ Notify()

void SwToolbarConfigItem::Notify ( const css::uno::Sequence< OUString > &  aPropertyNames)
overridevirtual

Implements utl::ConfigItem.

Definition at line 122 of file barcfg.cxx.

◆ SetTopToolbar()

void SwToolbarConfigItem::SetTopToolbar ( SelectionType  nSelType,
ToolbarId  eBarId 
)

Member Data Documentation

◆ m_aTbxIdArray

sal_Int32 SwToolbarConfigItem::m_aTbxIdArray[5]
private

Definition at line 29 of file barcfg.hxx.

Referenced by ImplCommit(), SetTopToolbar(), and SwToolbarConfigItem().


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