LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
ScLinkConfigItem Class Referencefinal

#include <optutil.hxx>

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

Public Member Functions

 ScLinkConfigItem (const OUString &rSubTree)
 
 ScLinkConfigItem (const OUString &rSubTree, ConfigItemMode nMode)
 
void SetCommitLink (const Link< ScLinkConfigItem &, void > &rLink)
 
void SetNotifyLink (const Link< ScLinkConfigItem &, void > &rLink)
 
virtual void Notify (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual void ImplCommit () override
 
css::uno::Sequence< css::uno::Any > GetProperties (const css::uno::Sequence< OUString > &rNames)
 
void PutProperties (const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues)
 
- 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 Attributes

Link< ScLinkConfigItem &, void > aCommitLink
 
Link< ScLinkConfigItem &, void > aNotifyLink
 

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 37 of file optutil.hxx.

Constructor & Destructor Documentation

◆ ScLinkConfigItem() [1/2]

ScLinkConfigItem::ScLinkConfigItem ( const OUString &  rSubTree)

Definition at line 37 of file optutil.cxx.

◆ ScLinkConfigItem() [2/2]

ScLinkConfigItem::ScLinkConfigItem ( const OUString &  rSubTree,
ConfigItemMode  nMode 
)

Definition at line 42 of file optutil.cxx.

Member Function Documentation

◆ GetProperties()

css::uno::Sequence< css::uno::Any > ScLinkConfigItem::GetProperties ( const css::uno::Sequence< OUString > &  rNames)
inline

◆ ImplCommit()

void ScLinkConfigItem::ImplCommit ( )
overridevirtual

Implements utl::ConfigItem.

Definition at line 62 of file optutil.cxx.

References aCommitLink, and Link< typename Arg, typename Ret >::Call().

◆ Notify()

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

Implements utl::ConfigItem.

Definition at line 57 of file optutil.cxx.

References aNotifyLink, and Link< typename Arg, typename Ret >::Call().

◆ PutProperties()

void ScLinkConfigItem::PutProperties ( const css::uno::Sequence< OUString > &  rNames,
const css::uno::Sequence< css::uno::Any > &  rValues 
)
inline

Definition at line 55 of file optutil.hxx.

References utl::ConfigItem::PutProperties().

Referenced by lcl_SaveSeparators(), and save_FixedWidthList().

◆ SetCommitLink()

void ScLinkConfigItem::SetCommitLink ( const Link< ScLinkConfigItem &, void > &  rLink)

Definition at line 47 of file optutil.cxx.

References aCommitLink.

Referenced by ScAppCfg::ScAppCfg(), ScDocCfg::ScDocCfg(), and ScViewCfg::ScViewCfg().

◆ SetNotifyLink()

void ScLinkConfigItem::SetNotifyLink ( const Link< ScLinkConfigItem &, void > &  rLink)

Definition at line 52 of file optutil.cxx.

References aNotifyLink.

Referenced by ScAppCfg::ScAppCfg().

Member Data Documentation

◆ aCommitLink

Link<ScLinkConfigItem&,void> ScLinkConfigItem::aCommitLink
private

Definition at line 39 of file optutil.hxx.

Referenced by ImplCommit(), and SetCommitLink().

◆ aNotifyLink

Link<ScLinkConfigItem&,void> ScLinkConfigItem::aNotifyLink
private

Definition at line 40 of file optutil.hxx.

Referenced by Notify(), and SetNotifyLink().


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