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

#include <dbconfig.hxx>

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

Public Member Functions

 SwDBConfig ()
 
virtual ~SwDBConfig () override
 
void Load ()
 
const SwDBDataGetAddressSource ()
 
const SwDBDataGetBibliographySource ()
 
virtual void Notify (const css::uno::Sequence< OUString > &aPropertyNames) override
 
- Public Member Functions inherited from utl::ConfigItem
virtual ~ConfigItem () override
 
 ConfigItem (ConfigItem const &)=default
 
 ConfigItem (ConfigItem &&)=default
 
ConfigItemoperator= (ConfigItem const &)=delete
 
ConfigItemoperator= (ConfigItem &&)=delete
 
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 SAL_DLLPRIVATE const css::uno::Sequence< OUString > & GetPropertyNames ()
 

Private Attributes

std::unique_ptr< SwDBDatapAdrImpl
 
std::unique_ptr< SwDBDatapBibImpl
 

Additional Inherited Members

- Protected Member Functions inherited from utl::ConfigItem
 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)
 

Detailed Description

Definition at line 27 of file dbconfig.hxx.

Constructor & Destructor Documentation

SwDBConfig::SwDBConfig ( )

Definition at line 43 of file dbconfig.cxx.

References ReleaseTree.

SwDBConfig::~SwDBConfig ( )
overridevirtual

Definition at line 48 of file dbconfig.cxx.

References pAdrImpl, and pBibImpl.

Member Function Documentation

const SwDBData & SwDBConfig::GetAddressSource ( )

Definition at line 84 of file dbconfig.cxx.

References Load(), and pAdrImpl.

const SwDBData & SwDBConfig::GetBibliographySource ( )

Definition at line 91 of file dbconfig.cxx.

References Load(), and pBibImpl.

Referenced by SwAddressListDialog::SwAddressListDialog().

const Sequence< OUString > & SwDBConfig::GetPropertyNames ( )
staticprivate

Definition at line 30 of file dbconfig.cxx.

Referenced by Load().

void SwDBConfig::ImplCommit ( )
overrideprivatevirtual

Implements utl::ConfigItem.

Definition at line 98 of file dbconfig.cxx.

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

Implements utl::ConfigItem.

Definition at line 99 of file dbconfig.cxx.

Member Data Documentation

std::unique_ptr<SwDBData> SwDBConfig::pAdrImpl
private

Definition at line 33 of file dbconfig.hxx.

Referenced by GetAddressSource(), Load(), and ~SwDBConfig().

std::unique_ptr<SwDBData> SwDBConfig::pBibImpl
private

Definition at line 34 of file dbconfig.hxx.

Referenced by GetBibliographySource(), Load(), and ~SwDBConfig().


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