LibreOffice Module sw (master) 1
|
#include <navicfg.hxx>
Public Member Functions | |
SwNavigationConfig () | |
virtual | ~SwNavigationConfig () override |
void | Load () |
virtual void | Notify (const css::uno::Sequence< OUString > &aPropertyNames) override |
ContentTypeId | GetRootType () const |
void | SetRootType (ContentTypeId nSet) |
sal_Int32 | GetOutlineLevel () const |
void | SetOutlineLevel (sal_Int32 nSet) |
RegionMode | GetRegionMode () const |
void | SetRegionMode (RegionMode nSet) |
sal_Int32 | GetActiveBlock () const |
void | SetActiveBlock (sal_Int32 nSet) |
bool | IsSmall () const |
void | SetSmall (bool bSet) |
bool | IsGlobalActive () const |
void | SetGlobalActive (bool bSet) |
sal_Int32 | GetOutlineTracking () const |
void | SetOutlineTracking (sal_Int32 nSet) |
bool | IsContentTypeTrack (ContentTypeId eCntTypeId) |
void | SetContentTypeTrack (ContentTypeId eCntTypeId, const bool bSet) |
bool | IsNavigateOnSelect () const |
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 css::uno::Sequence< OUString > | GetPropertyNames () |
Private Attributes | |
ContentTypeId | m_nRootType |
sal_Int32 | m_nSelectedPos |
sal_Int32 | m_nOutlineLevel |
RegionMode | m_nRegionMode |
sal_Int32 | m_nActiveBlock |
bool | m_bIsSmall |
bool | m_bIsGlobalActive |
sal_Int32 | m_nOutlineTracking |
bool | m_bIsNavigateOnSelect |
o3tl::enumarray< ContentTypeId, bool > | mContentTypeTrack |
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 26 of file navicfg.hxx.
SwNavigationConfig::SwNavigationConfig | ( | ) |
Definition at line 80 of file navicfg.cxx.
References utl::ConfigItem::EnableNotification(), GetPropertyNames(), Load(), and UNKNOWN.
|
overridevirtual |
Definition at line 154 of file navicfg.cxx.
|
inline |
Definition at line 78 of file navicfg.hxx.
References m_nActiveBlock.
Referenced by SwContentTree::SwContentTree().
|
inline |
Definition at line 60 of file navicfg.hxx.
References m_nOutlineLevel.
Referenced by SwNavigationPI::SwNavigationPI().
|
inline |
Definition at line 105 of file navicfg.hxx.
References m_nOutlineTracking.
Referenced by SwNavigationPI::SwNavigationPI().
|
staticprivate |
Definition at line 52 of file navicfg.cxx.
Referenced by ImplCommit(), Load(), and SwNavigationConfig().
|
inline |
Definition at line 69 of file navicfg.hxx.
References m_nRegionMode.
Referenced by SwNavigationPI::SwNavigationPI().
|
inline |
Definition at line 51 of file navicfg.hxx.
References m_nRootType.
Referenced by SwNavigationPI::SwNavigationPI().
|
overrideprivatevirtual |
Implements utl::ConfigItem.
Definition at line 158 of file navicfg.cxx.
References Any, GetPropertyNames(), m_bIsGlobalActive, m_bIsNavigateOnSelect, m_bIsSmall, m_nActiveBlock, m_nOutlineLevel, m_nOutlineTracking, m_nRegionMode, m_nRootType, m_nSelectedPos, mContentTypeTrack, utl::ConfigItem::PutProperties(), and pValues.
|
inline |
Definition at line 114 of file navicfg.hxx.
References mContentTypeTrack.
Referenced by SwNavigationPI::SwNavigationPI().
|
inline |
Definition at line 96 of file navicfg.hxx.
References m_bIsGlobalActive.
Referenced by SwNavigationPI::NotifyItemUpdate(), and SwNavigationPI::SwNavigationPI().
|
inline |
Definition at line 127 of file navicfg.hxx.
References m_bIsNavigateOnSelect.
|
inline |
Definition at line 87 of file navicfg.hxx.
References m_bIsSmall.
Referenced by SwNavigatorWin::SwNavigatorWin().
void SwNavigationConfig::Load | ( | ) |
Definition at line 96 of file navicfg.cxx.
References Any, utl::ConfigItem::GetProperties(), GetPropertyNames(), LAST, m_bIsGlobalActive, m_bIsNavigateOnSelect, m_bIsSmall, m_nActiveBlock, m_nOutlineLevel, m_nOutlineTracking, m_nRegionMode, m_nRootType, m_nSelectedPos, mContentTypeTrack, pValues, SAL_WARN, and UNKNOWN.
Referenced by Notify(), and SwNavigationConfig().
|
overridevirtual |
|
inline |
Definition at line 79 of file navicfg.hxx.
References m_nActiveBlock, and utl::ConfigItem::SetModified().
Referenced by SwContentTree::Expand().
|
inline |
Definition at line 118 of file navicfg.hxx.
References mContentTypeTrack, and utl::ConfigItem::SetModified().
Referenced by SwContentTree::SetContentTypeTracking().
|
inline |
Definition at line 97 of file navicfg.hxx.
References m_bIsGlobalActive, and utl::ConfigItem::SetModified().
|
inline |
Definition at line 61 of file navicfg.hxx.
References m_nOutlineLevel, and utl::ConfigItem::SetModified().
Referenced by SwContentTree::SetOutlineLevel().
|
inline |
Definition at line 106 of file navicfg.hxx.
References m_nOutlineTracking, and utl::ConfigItem::SetModified().
Referenced by SwContentTree::SetOutlineTracking().
|
inline |
Definition at line 70 of file navicfg.hxx.
References m_nRegionMode, and utl::ConfigItem::SetModified().
Referenced by SwNavigationPI::SetRegionDropMode().
|
inline |
Definition at line 52 of file navicfg.hxx.
References m_nRootType, and utl::ConfigItem::SetModified().
Referenced by SwContentTree::SetRootType(), and SwContentTree::ToggleToRoot().
|
inline |
Definition at line 88 of file navicfg.hxx.
References m_bIsSmall, and utl::ConfigItem::SetModified().
Referenced by SwNavigationPI::ZoomIn(), and SwNavigationPI::ZoomOut().
|
private |
Definition at line 34 of file navicfg.hxx.
Referenced by ImplCommit(), IsGlobalActive(), Load(), and SetGlobalActive().
|
private |
Definition at line 36 of file navicfg.hxx.
Referenced by ImplCommit(), IsNavigateOnSelect(), and Load().
|
private |
Definition at line 33 of file navicfg.hxx.
Referenced by ImplCommit(), IsSmall(), Load(), and SetSmall().
|
private |
Definition at line 32 of file navicfg.hxx.
Referenced by GetActiveBlock(), ImplCommit(), Load(), and SetActiveBlock().
|
private |
Definition at line 30 of file navicfg.hxx.
Referenced by GetOutlineLevel(), ImplCommit(), Load(), and SetOutlineLevel().
|
private |
Definition at line 35 of file navicfg.hxx.
Referenced by GetOutlineTracking(), ImplCommit(), Load(), and SetOutlineTracking().
|
private |
Definition at line 31 of file navicfg.hxx.
Referenced by GetRegionMode(), ImplCommit(), Load(), and SetRegionMode().
|
private |
Definition at line 28 of file navicfg.hxx.
Referenced by GetRootType(), ImplCommit(), Load(), and SetRootType().
|
private |
Definition at line 29 of file navicfg.hxx.
Referenced by ImplCommit(), and Load().
|
private |
Definition at line 38 of file navicfg.hxx.
Referenced by ImplCommit(), IsContentTypeTrack(), Load(), and SetContentTypeTrack().