LibreOffice Module sw (master) 1
|
#include <usrpref.hxx>
Public Member Functions | |
SwContentViewConfig (bool bWeb, SwMasterUsrPref &rParent) | |
virtual | ~SwContentViewConfig () override |
virtual void | Notify (const css::uno::Sequence< OUString > &rPropertyNames) 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 | |
css::uno::Sequence< OUString > | GetPropertyNames () const |
virtual void | ImplCommit () override |
Private Attributes | |
SwMasterUsrPref & | m_rParent |
bool | m_bWeb |
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 30 of file usrpref.hxx.
SwContentViewConfig::SwContentViewConfig | ( | bool | bWeb, |
SwMasterUsrPref & | rParent | ||
) |
Definition at line 131 of file usrpref.cxx.
References utl::ConfigItem::EnableNotification(), GetPropertyNames(), Load(), and m_rParent.
|
overridevirtual |
Definition at line 140 of file usrpref.cxx.
|
private |
Definition at line 85 of file usrpref.cxx.
References aPropNames, g_DefaultAnchor, g_UpdateLinkIndex, i, m_bWeb, nCount, and SAL_N_ELEMENTS.
Referenced by ImplCommit(), Load(), and SwContentViewConfig().
|
overrideprivatevirtual |
Implements utl::ConfigItem.
Definition at line 149 of file usrpref.cxx.
References Any, g_DefaultAnchor, g_UpdateLinkIndex, SwViewOption::GetDefaultAnchor(), GetPropertyNames(), SwMasterUsrPref::GetUpdateLinkMode(), SwViewOption::IsBlank(), SwViewOption::IsDraw(), SwViewOption::IsFieldName(), SwViewOption::IsGraphic(), SwViewOption::IsHardBlank(), SwViewOption::IsLineBreak(), SwViewOption::IsParagraph(), SwViewOption::IsPostIts(), SwViewOption::IsShowBookmarks(), SwViewOption::IsShowChangesInMargin(), SwViewOption::IsShowContentTips(), SwViewOption::IsShowHiddenChar(), SwViewOption::IsShowHiddenField(), SwViewOption::IsShowHiddenPara(), SwViewOption::IsShowInlineTooltips(), SwViewOption::IsShowOutlineContentVisibilityButton(), SwViewOption::IsSoftHyph(), SwViewOption::IsTab(), SwViewOption::IsTable(), SwViewOption::IsTreatSubOutlineLevelsAsContent(), SwMasterUsrPref::IsUpdateCharts(), SwMasterUsrPref::IsUpdateFields(), SwViewOption::IsUseHeaderFooterMenu(), SwViewOption::IsViewMetaChars(), m_rParent, utl::ConfigItem::PutProperties(), and pValues.
void SwContentViewConfig::Load | ( | ) |
Definition at line 194 of file usrpref.cxx.
References Any, g_DefaultAnchor, g_UpdateLinkIndex, utl::ConfigItem::GetProperties(), GetPropertyNames(), m_rParent, pValues, SwViewOption::SetBlank(), SwViewOption::SetDefaultAnchor(), SwViewOption::SetDraw(), SwViewOption::SetFieldName(), SwViewOption::SetGraphic(), SwViewOption::SetHardBlank(), SwViewOption::SetLineBreak(), SwViewOption::SetParagraph(), SwViewOption::SetPostIts(), SwViewOption::SetShowBookmarks(), SwViewOption::SetShowChangesInMargin(), SwViewOption::SetShowContentTips(), SwViewOption::SetShowHiddenChar(), SwViewOption::SetShowHiddenField(), SwViewOption::SetShowHiddenPara(), SwViewOption::SetShowInlineTooltips(), SwViewOption::SetShowOutlineContentVisibilityButton(), SwViewOption::SetSoftHyph(), SwViewOption::SetTab(), SwViewOption::SetTable(), SwViewOption::SetTreatSubOutlineLevelsAsContent(), SwMasterUsrPref::SetUpdateCharts(), SwMasterUsrPref::SetUpdateFields(), SwMasterUsrPref::SetUpdateLinkMode(), SwViewOption::SetUseHeaderFooterMenu(), and SwViewOption::SetViewMetaChars().
Referenced by Notify(), SwContentViewConfig(), and SwMasterUsrPref::SwMasterUsrPref().
|
overridevirtual |
|
private |
Definition at line 34 of file usrpref.hxx.
Referenced by GetPropertyNames().
|
private |
Definition at line 33 of file usrpref.hxx.
Referenced by ImplCommit(), and Load().