LibreOffice Module sw (master) 1
|
#include <usrpref.hxx>
Public Member Functions | |
SwLayoutViewConfig (bool bWeb, SwMasterUsrPref &rParent) | |
virtual | ~SwLayoutViewConfig () 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 | |
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 51 of file usrpref.hxx.
SwLayoutViewConfig::SwLayoutViewConfig | ( | bool | bWeb, |
SwMasterUsrPref & | rParent | ||
) |
Definition at line 289 of file usrpref.cxx.
References m_rParent, and ReleaseTree.
|
overridevirtual |
Definition at line 297 of file usrpref.cxx.
|
private |
Definition at line 253 of file usrpref.cxx.
References aPropNames, i, m_bWeb, and nCount.
Referenced by ImplCommit(), and Load().
|
overrideprivatevirtual |
Implements utl::ConfigItem.
Definition at line 301 of file usrpref.cxx.
References Any, SwMasterUsrPref::GetDefTabInMm100(), SwMasterUsrPref::GetMetric(), GetPropertyNames(), SwViewOption::GetViewLayoutColumns(), SwViewOption::GetZoom(), SwViewOption::GetZoomType(), SwMasterUsrPref::IsAlignMathObjectsToBaseline(), SwMasterUsrPref::IsApplyCharUnit(), SwViewOption::IsCrossHair(), SwViewOption::IsShowScrollBarTips(), SwViewOption::IsSmoothScroll(), SwMasterUsrPref::IsSquaredPageMode(), SwViewOption::IsViewAnyRuler(), SwViewOption::IsViewHRuler(), SwViewOption::IsViewHScrollBar(), SwViewOption::IsViewLayoutBookMode(), SwViewOption::IsViewVRuler(), SwViewOption::IsViewVScrollBar(), SwViewOption::IsVRulerRight(), SwMasterUsrPref::m_bIsHScrollMetricSet, SwMasterUsrPref::m_bIsVScrollMetricSet, SwMasterUsrPref::m_eHScrollMetric, SwMasterUsrPref::m_eVScrollMetric, m_rParent, utl::ConfigItem::PutProperties(), and pValues.
void SwLayoutViewConfig::Load | ( | ) |
Definition at line 346 of file usrpref.cxx.
References Any, utl::ConfigItem::GetProperties(), GetPropertyNames(), SwMasterUsrPref::m_bIsHScrollMetricSet, SwMasterUsrPref::m_bIsVScrollMetricSet, SwMasterUsrPref::m_eHScrollMetric, SwMasterUsrPref::m_eVScrollMetric, m_rParent, pValues, SwMasterUsrPref::SetAlignMathObjectsToBaseline(), SwMasterUsrPref::SetApplyCharUnit(), SwViewOption::SetCrossHair(), SwMasterUsrPref::SetDefaultPageMode(), SwMasterUsrPref::SetDefTabInMm100(), SwMasterUsrPref::SetMetric(), SwViewOption::SetShowScrollBarTips(), SwViewOption::SetSmoothScroll(), SwViewOption::SetViewAnyRuler(), SwViewOption::SetViewHRuler(), SwViewOption::SetViewHScrollBar(), SwViewOption::SetViewLayoutBookMode(), SwViewOption::SetViewLayoutColumns(), SwViewOption::SetViewVRuler(), SwViewOption::SetViewVScrollBar(), SwViewOption::SetVRulerRight(), SwViewOption::SetZoom(), and SwViewOption::SetZoomType().
Referenced by SwMasterUsrPref::SwMasterUsrPref().
|
overridevirtual |
Implements utl::ConfigItem.
Definition at line 401 of file usrpref.cxx.
|
private |
Definition at line 55 of file usrpref.hxx.
Referenced by GetPropertyNames().
|
private |
Definition at line 54 of file usrpref.hxx.
Referenced by ImplCommit(), and Load().