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

#include <optsitem.hxx>

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

Public Member Functions

 SdOptionsItem (const SdOptionsGeneric &rParent, const OUString &rSubTree)
 
virtual ~SdOptionsItem () override
 
 SdOptionsItem (SdOptionsItem const &)=default
 
 SdOptionsItem (SdOptionsItem &&)=default
 
SdOptionsItemoperator= (SdOptionsItem const &)=delete
 
SdOptionsItemoperator= (SdOptionsItem &&)=delete
 
virtual void Notify (const css::uno::Sequence< OUString > &aPropertyNames) override
 
css::uno::Sequence< css::uno::Any > GetProperties (const css::uno::Sequence< OUString > &rNames)
 
bool 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 Member Functions

virtual void ImplCommit () override
 

Private Attributes

const SdOptionsGenericmrParent
 

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 optsitem.hxx.

Constructor & Destructor Documentation

◆ SdOptionsItem() [1/3]

SdOptionsItem::SdOptionsItem ( const SdOptionsGeneric rParent,
const OUString &  rSubTree 
)

Definition at line 49 of file optsitem.cxx.

References mrParent.

◆ ~SdOptionsItem()

SdOptionsItem::~SdOptionsItem ( )
overridevirtual

Definition at line 55 of file optsitem.cxx.

◆ SdOptionsItem() [2/3]

SdOptionsItem::SdOptionsItem ( SdOptionsItem const &  )
default

◆ SdOptionsItem() [3/3]

SdOptionsItem::SdOptionsItem ( SdOptionsItem &&  )
default

Member Function Documentation

◆ GetProperties()

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

Definition at line 68 of file optsitem.cxx.

◆ ImplCommit()

void SdOptionsItem::ImplCommit ( )
overrideprivatevirtual

Implements utl::ConfigItem.

Definition at line 59 of file optsitem.cxx.

References SdOptionsGeneric::Commit(), utl::ConfigItem::IsModified(), and mrParent.

◆ Notify()

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

Implements utl::ConfigItem.

Definition at line 65 of file optsitem.cxx.

◆ operator=() [1/2]

SdOptionsItem & SdOptionsItem::operator= ( SdOptionsItem &&  )
delete

◆ operator=() [2/2]

SdOptionsItem & SdOptionsItem::operator= ( SdOptionsItem const &  )
delete

◆ PutProperties()

bool SdOptionsItem::PutProperties ( const css::uno::Sequence< OUString > &  rNames,
const css::uno::Sequence< css::uno::Any > &  rValues 
)

Definition at line 73 of file optsitem.cxx.

Referenced by SdOptionsGeneric::Commit().

Member Data Documentation

◆ mrParent

const SdOptionsGeneric& SdOptionsItem::mrParent
private

Definition at line 42 of file optsitem.hxx.

Referenced by ImplCommit().


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