LibreOffice Module sw (master) 1
|
#include <modcfg.hxx>
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 | |
ConfigItem & | operator= (ConfigItem const &)=delete |
ConfigItem & | operator= (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 () |
ConfigurationBroadcaster & | operator= (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_Bool > | GetReadOnlyStates (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) |
Definition at line 174 of file modcfg.hxx.
SwMiscConfig::SwMiscConfig | ( | ) |
Definition at line 1158 of file modcfg.cxx.
References Load(), and ReleaseTree.
|
overridevirtual |
Definition at line 1173 of file modcfg.cxx.
|
staticprivate |
Definition at line 1177 of file modcfg.cxx.
Referenced by ImplCommit(), and Load().
|
overrideprivatevirtual |
Implements utl::ConfigItem.
Definition at line 1201 of file modcfg.cxx.
References Any, SwModuleOptions::ConvertWordDelimiter(), GetPropertyNames(), m_bAskForMailMergeInPrint, m_bDefaultFontsInCurrDocOnly, m_bGrfToGalleryAsLnk, m_bIsNameFromColumn, m_bIsPasswordFromColumn, m_bNumAlignSize, m_bShowIndexPreview, m_bSinglePrintJob, m_nMailingFormats, m_sMailingPath, m_sMailName, m_sNameFromColumn, m_sPasswordFromColumn, m_sWordDelimiter, utl::ConfigItem::PutProperties(), and pValues.
void SwMiscConfig::Load | ( | ) |
Definition at line 1233 of file modcfg.cxx.
References Any, SwModuleOptions::ConvertWordDelimiter(), utl::ConfigItem::GetProperties(), GetPropertyNames(), m_bAskForMailMergeInPrint, m_bDefaultFontsInCurrDocOnly, m_bGrfToGalleryAsLnk, m_bIsNameFromColumn, m_bIsPasswordFromColumn, m_bNumAlignSize, m_bShowIndexPreview, m_bSinglePrintJob, m_nMailingFormats, m_sMailingPath, m_sMailName, m_sNameFromColumn, m_sPasswordFromColumn, m_sWordDelimiter, and pValues.
Referenced by SwMiscConfig().
|
overridevirtual |
Implements utl::ConfigItem.
Definition at line 1199 of file modcfg.cxx.
|
friend |
Definition at line 176 of file modcfg.hxx.
|
private |
Definition at line 186 of file modcfg.hxx.
Referenced by ImplCommit(), SwModuleOptions::IsAskForMailMerge(), and Load().
|
private |
Definition at line 179 of file modcfg.hxx.
Referenced by ImplCommit(), Load(), and SwModuleOptions::SetDefaultFontInCurrDocOnly().
|
private |
Definition at line 181 of file modcfg.hxx.
Referenced by ImplCommit(), SwModuleOptions::IsGrfToGalleryAsLnk(), Load(), and SwModuleOptions::SetGrfToGalleryAsLnk().
|
private |
Definition at line 184 of file modcfg.hxx.
Referenced by ImplCommit(), SwModuleOptions::IsNameFromColumn(), Load(), and SwModuleOptions::SetIsNameFromColumn().
|
private |
Definition at line 185 of file modcfg.hxx.
Referenced by ImplCommit(), SwModuleOptions::IsFileEncryptedFromColumn(), Load(), and SwModuleOptions::SetIsFileEncryptedFromColumn().
|
private |
Definition at line 182 of file modcfg.hxx.
Referenced by ImplCommit(), and Load().
|
private |
Definition at line 180 of file modcfg.hxx.
Referenced by ImplCommit(), SwModuleOptions::IsShowIndexPreview(), Load(), and SwModuleOptions::SetShowIndexPreview().
|
private |
Definition at line 183 of file modcfg.hxx.
Referenced by ImplCommit(), Load(), and SwModuleOptions::SetSinglePrintJob().
|
private |
Definition at line 187 of file modcfg.hxx.
Referenced by SwModuleOptions::GetMailingFormats(), ImplCommit(), Load(), and SwModuleOptions::SetMailingFormats().
|
private |
Definition at line 190 of file modcfg.hxx.
Referenced by SwModuleOptions::GetMailingPath(), ImplCommit(), Load(), and SwModuleOptions::SetMailingPath().
|
private |
Definition at line 191 of file modcfg.hxx.
Referenced by ImplCommit(), and Load().
|
private |
Definition at line 188 of file modcfg.hxx.
Referenced by SwModuleOptions::GetNameFromColumn(), ImplCommit(), Load(), and SwModuleOptions::SetNameFromColumn().
|
private |
Definition at line 189 of file modcfg.hxx.
Referenced by SwModuleOptions::GetPasswordFromColumn(), ImplCommit(), Load(), and SwModuleOptions::SetPasswordFromColumn().
|
private |
Definition at line 178 of file modcfg.hxx.
Referenced by SwModuleOptions::GetWordDelimiter(), ImplCommit(), Load(), and SwModuleOptions::SetWordDelimiter().