LibreOffice Module sw (master) 1
|
#include <modcfg.hxx>
Public Member Functions | |
SwRevisionConfig () | |
virtual | ~SwRevisionConfig () 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 | |
AuthorCharAttr | m_aInsertAttr |
AuthorCharAttr | m_aDeletedAttr |
AuthorCharAttr | m_aFormatAttr |
sal_uInt16 | m_nMarkAlign |
Color | m_aMarkColor |
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 61 of file modcfg.hxx.
SwRevisionConfig::SwRevisionConfig | ( | ) |
Definition at line 232 of file modcfg.cxx.
References COL_BLACK(), COL_TRANSPARENT(), LINESTYLE_SINGLE, Load(), m_aDeletedAttr, m_aFormatAttr, m_aInsertAttr, AuthorCharAttr::m_nAttr, AuthorCharAttr::m_nColor, AuthorCharAttr::m_nItemId, ReleaseTree, STRIKEOUT_SINGLE, and WEIGHT_BOLD.
|
overridevirtual |
Definition at line 250 of file modcfg.cxx.
|
staticprivate |
Definition at line 216 of file modcfg.cxx.
Referenced by ImplCommit(), and Load().
|
overrideprivatevirtual |
Implements utl::ConfigItem.
Definition at line 282 of file modcfg.cxx.
References Any, GetPropertyNames(), lcl_ConvertAttrToCfg(), m_aDeletedAttr, m_aFormatAttr, m_aInsertAttr, m_aMarkColor, AuthorCharAttr::m_nColor, m_nMarkAlign, utl::ConfigItem::PutProperties(), and pValues.
void SwRevisionConfig::Load | ( | ) |
Definition at line 331 of file modcfg.cxx.
References Any, ColorTransparency, utl::ConfigItem::GetProperties(), GetPropertyNames(), lcl_ConvertCfgToAttr(), m_aDeletedAttr, m_aFormatAttr, m_aInsertAttr, m_aMarkColor, AuthorCharAttr::m_nColor, m_nMarkAlign, and pValues.
Referenced by SwRevisionConfig().
|
overridevirtual |
Implements utl::ConfigItem.
Definition at line 280 of file modcfg.cxx.
|
friend |
Definition at line 63 of file modcfg.hxx.
|
private |
Definition at line 67 of file modcfg.hxx.
Referenced by SwModuleOptions::GetDeletedAuthorAttr(), ImplCommit(), Load(), SwModuleOptions::SetDeletedAuthorAttr(), and SwRevisionConfig().
|
private |
Definition at line 69 of file modcfg.hxx.
Referenced by SwModuleOptions::GetFormatAuthorAttr(), ImplCommit(), Load(), SwModuleOptions::SetFormatAuthorAttr(), and SwRevisionConfig().
|
private |
Definition at line 65 of file modcfg.hxx.
Referenced by SwModuleOptions::GetInsertAuthorAttr(), ImplCommit(), Load(), SwModuleOptions::SetInsertAuthorAttr(), and SwRevisionConfig().
|
private |
Definition at line 72 of file modcfg.hxx.
Referenced by SwModuleOptions::GetMarkAlignColor(), ImplCommit(), Load(), and SwModuleOptions::SetMarkAlignColor().
|
private |
Definition at line 71 of file modcfg.hxx.
Referenced by SwModuleOptions::GetMarkAlignMode(), ImplCommit(), Load(), and SwModuleOptions::SetMarkAlignMode().