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

#include <modcfg.hxx>

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

Public Member Functions

 SwMiscConfig ()
 
virtual ~SwMiscConfig () override
 
virtual void Notify (const css::uno::Sequence< OUString > &aPropertyNames) override
 
void Load ()
 
- 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 const css::uno::Sequence< OUString > & GetPropertyNames ()
 

Private Attributes

OUString m_sWordDelimiter
 
bool m_bDefaultFontsInCurrDocOnly
 
bool m_bShowIndexPreview
 
bool m_bGrfToGalleryAsLnk
 
bool m_bNumAlignSize
 
bool m_bSinglePrintJob
 
bool m_bIsNameFromColumn
 
bool m_bIsPasswordFromColumn
 
bool m_bAskForMailMergeInPrint
 
MailTextFormats m_nMailingFormats
 
OUString m_sNameFromColumn
 
OUString m_sPasswordFromColumn
 
OUString m_sMailingPath
 
OUString m_sMailName
 

Friends

class SwModuleOptions
 

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 174 of file modcfg.hxx.

Constructor & Destructor Documentation

◆ SwMiscConfig()

SwMiscConfig::SwMiscConfig ( )

Definition at line 1158 of file modcfg.cxx.

References Load(), and ReleaseTree.

◆ ~SwMiscConfig()

SwMiscConfig::~SwMiscConfig ( )
overridevirtual

Definition at line 1173 of file modcfg.cxx.

Member Function Documentation

◆ GetPropertyNames()

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

Definition at line 1177 of file modcfg.cxx.

Referenced by ImplCommit(), and Load().

◆ ImplCommit()

void SwMiscConfig::ImplCommit ( )
overrideprivatevirtual

◆ Load()

void SwMiscConfig::Load ( )

◆ Notify()

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

Implements utl::ConfigItem.

Definition at line 1199 of file modcfg.cxx.

Friends And Related Function Documentation

◆ SwModuleOptions

friend class SwModuleOptions
friend

Definition at line 176 of file modcfg.hxx.

Member Data Documentation

◆ m_bAskForMailMergeInPrint

bool SwMiscConfig::m_bAskForMailMergeInPrint
private

Definition at line 186 of file modcfg.hxx.

Referenced by ImplCommit(), SwModuleOptions::IsAskForMailMerge(), and Load().

◆ m_bDefaultFontsInCurrDocOnly

bool SwMiscConfig::m_bDefaultFontsInCurrDocOnly
private

Definition at line 179 of file modcfg.hxx.

Referenced by ImplCommit(), Load(), and SwModuleOptions::SetDefaultFontInCurrDocOnly().

◆ m_bGrfToGalleryAsLnk

bool SwMiscConfig::m_bGrfToGalleryAsLnk
private

◆ m_bIsNameFromColumn

bool SwMiscConfig::m_bIsNameFromColumn
private

◆ m_bIsPasswordFromColumn

bool SwMiscConfig::m_bIsPasswordFromColumn
private

◆ m_bNumAlignSize

bool SwMiscConfig::m_bNumAlignSize
private

Definition at line 182 of file modcfg.hxx.

Referenced by ImplCommit(), and Load().

◆ m_bShowIndexPreview

bool SwMiscConfig::m_bShowIndexPreview
private

◆ m_bSinglePrintJob

bool SwMiscConfig::m_bSinglePrintJob
private

Definition at line 183 of file modcfg.hxx.

Referenced by ImplCommit(), Load(), and SwModuleOptions::SetSinglePrintJob().

◆ m_nMailingFormats

MailTextFormats SwMiscConfig::m_nMailingFormats
private

◆ m_sMailingPath

OUString SwMiscConfig::m_sMailingPath
private

◆ m_sMailName

OUString SwMiscConfig::m_sMailName
private

Definition at line 191 of file modcfg.hxx.

Referenced by ImplCommit(), and Load().

◆ m_sNameFromColumn

OUString SwMiscConfig::m_sNameFromColumn
private

◆ m_sPasswordFromColumn

OUString SwMiscConfig::m_sPasswordFromColumn
private

◆ m_sWordDelimiter

OUString SwMiscConfig::m_sWordDelimiter
private

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