LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SwNavigationConfig Class Referencefinal

#include <navicfg.hxx>

Inheritance diagram for SwNavigationConfig:
[legend]
Collaboration diagram for SwNavigationConfig:
[legend]

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
 
ConfigItemoperator= (ConfigItem const &)=delete
 
ConfigItemoperator= (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 ()
 
ConfigurationBroadcasteroperator= (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_BoolGetReadOnlyStates (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)
 

Detailed Description

Definition at line 26 of file navicfg.hxx.

Constructor & Destructor Documentation

◆ SwNavigationConfig()

SwNavigationConfig::SwNavigationConfig ( )

Definition at line 80 of file navicfg.cxx.

References utl::ConfigItem::EnableNotification(), GetPropertyNames(), Load(), and UNKNOWN.

◆ ~SwNavigationConfig()

SwNavigationConfig::~SwNavigationConfig ( )
overridevirtual

Definition at line 154 of file navicfg.cxx.

Member Function Documentation

◆ GetActiveBlock()

sal_Int32 SwNavigationConfig::GetActiveBlock ( ) const
inline

Definition at line 78 of file navicfg.hxx.

References m_nActiveBlock.

Referenced by SwContentTree::SwContentTree().

◆ GetOutlineLevel()

sal_Int32 SwNavigationConfig::GetOutlineLevel ( ) const
inline

Definition at line 60 of file navicfg.hxx.

References m_nOutlineLevel.

Referenced by SwNavigationPI::SwNavigationPI().

◆ GetOutlineTracking()

sal_Int32 SwNavigationConfig::GetOutlineTracking ( ) const
inline

Definition at line 105 of file navicfg.hxx.

References m_nOutlineTracking.

Referenced by SwNavigationPI::SwNavigationPI().

◆ GetPropertyNames()

Sequence< OUString > SwNavigationConfig::GetPropertyNames ( )
staticprivate

Definition at line 52 of file navicfg.cxx.

Referenced by ImplCommit(), Load(), and SwNavigationConfig().

◆ GetRegionMode()

RegionMode SwNavigationConfig::GetRegionMode ( ) const
inline

Definition at line 69 of file navicfg.hxx.

References m_nRegionMode.

Referenced by SwNavigationPI::SwNavigationPI().

◆ GetRootType()

ContentTypeId SwNavigationConfig::GetRootType ( ) const
inline

Definition at line 51 of file navicfg.hxx.

References m_nRootType.

Referenced by SwNavigationPI::SwNavigationPI().

◆ ImplCommit()

void SwNavigationConfig::ImplCommit ( )
overrideprivatevirtual

◆ IsContentTypeTrack()

bool SwNavigationConfig::IsContentTypeTrack ( ContentTypeId  eCntTypeId)
inline

Definition at line 114 of file navicfg.hxx.

References mContentTypeTrack.

Referenced by SwNavigationPI::SwNavigationPI().

◆ IsGlobalActive()

bool SwNavigationConfig::IsGlobalActive ( ) const
inline

Definition at line 96 of file navicfg.hxx.

References m_bIsGlobalActive.

Referenced by SwNavigationPI::NotifyItemUpdate(), and SwNavigationPI::SwNavigationPI().

◆ IsNavigateOnSelect()

bool SwNavigationConfig::IsNavigateOnSelect ( ) const
inline

Definition at line 127 of file navicfg.hxx.

References m_bIsNavigateOnSelect.

◆ IsSmall()

bool SwNavigationConfig::IsSmall ( ) const
inline

Definition at line 87 of file navicfg.hxx.

References m_bIsSmall.

Referenced by SwNavigatorWin::SwNavigatorWin().

◆ Load()

void SwNavigationConfig::Load ( )

◆ Notify()

void SwNavigationConfig::Notify ( const css::uno::Sequence< OUString > &  aPropertyNames)
overridevirtual

Implements utl::ConfigItem.

Definition at line 188 of file navicfg.cxx.

References Load().

◆ SetActiveBlock()

void SwNavigationConfig::SetActiveBlock ( sal_Int32  nSet)
inline

Definition at line 79 of file navicfg.hxx.

References m_nActiveBlock, and utl::ConfigItem::SetModified().

Referenced by SwContentTree::Expand().

◆ SetContentTypeTrack()

void SwNavigationConfig::SetContentTypeTrack ( ContentTypeId  eCntTypeId,
const bool  bSet 
)
inline

◆ SetGlobalActive()

void SwNavigationConfig::SetGlobalActive ( bool  bSet)
inline

Definition at line 97 of file navicfg.hxx.

References m_bIsGlobalActive, and utl::ConfigItem::SetModified().

◆ SetOutlineLevel()

void SwNavigationConfig::SetOutlineLevel ( sal_Int32  nSet)
inline

Definition at line 61 of file navicfg.hxx.

References m_nOutlineLevel, and utl::ConfigItem::SetModified().

Referenced by SwContentTree::SetOutlineLevel().

◆ SetOutlineTracking()

void SwNavigationConfig::SetOutlineTracking ( sal_Int32  nSet)
inline

Definition at line 106 of file navicfg.hxx.

References m_nOutlineTracking, and utl::ConfigItem::SetModified().

Referenced by SwContentTree::SetOutlineTracking().

◆ SetRegionMode()

void SwNavigationConfig::SetRegionMode ( RegionMode  nSet)
inline

Definition at line 70 of file navicfg.hxx.

References m_nRegionMode, and utl::ConfigItem::SetModified().

Referenced by SwNavigationPI::SetRegionDropMode().

◆ SetRootType()

void SwNavigationConfig::SetRootType ( ContentTypeId  nSet)
inline

◆ SetSmall()

void SwNavigationConfig::SetSmall ( bool  bSet)
inline

Definition at line 88 of file navicfg.hxx.

References m_bIsSmall, and utl::ConfigItem::SetModified().

Referenced by SwNavigationPI::ZoomIn(), and SwNavigationPI::ZoomOut().

Member Data Documentation

◆ m_bIsGlobalActive

bool SwNavigationConfig::m_bIsGlobalActive
private

Definition at line 34 of file navicfg.hxx.

Referenced by ImplCommit(), IsGlobalActive(), Load(), and SetGlobalActive().

◆ m_bIsNavigateOnSelect

bool SwNavigationConfig::m_bIsNavigateOnSelect
private

Definition at line 36 of file navicfg.hxx.

Referenced by ImplCommit(), IsNavigateOnSelect(), and Load().

◆ m_bIsSmall

bool SwNavigationConfig::m_bIsSmall
private

Definition at line 33 of file navicfg.hxx.

Referenced by ImplCommit(), IsSmall(), Load(), and SetSmall().

◆ m_nActiveBlock

sal_Int32 SwNavigationConfig::m_nActiveBlock
private

Definition at line 32 of file navicfg.hxx.

Referenced by GetActiveBlock(), ImplCommit(), Load(), and SetActiveBlock().

◆ m_nOutlineLevel

sal_Int32 SwNavigationConfig::m_nOutlineLevel
private

Definition at line 30 of file navicfg.hxx.

Referenced by GetOutlineLevel(), ImplCommit(), Load(), and SetOutlineLevel().

◆ m_nOutlineTracking

sal_Int32 SwNavigationConfig::m_nOutlineTracking
private

Definition at line 35 of file navicfg.hxx.

Referenced by GetOutlineTracking(), ImplCommit(), Load(), and SetOutlineTracking().

◆ m_nRegionMode

RegionMode SwNavigationConfig::m_nRegionMode
private

Definition at line 31 of file navicfg.hxx.

Referenced by GetRegionMode(), ImplCommit(), Load(), and SetRegionMode().

◆ m_nRootType

ContentTypeId SwNavigationConfig::m_nRootType
private

Definition at line 28 of file navicfg.hxx.

Referenced by GetRootType(), ImplCommit(), Load(), and SetRootType().

◆ m_nSelectedPos

sal_Int32 SwNavigationConfig::m_nSelectedPos
private

Definition at line 29 of file navicfg.hxx.

Referenced by ImplCommit(), and Load().

◆ mContentTypeTrack

o3tl::enumarray<ContentTypeId, bool> SwNavigationConfig::mContentTypeTrack
private

Definition at line 38 of file navicfg.hxx.

Referenced by ImplCommit(), IsContentTypeTrack(), Load(), and SetContentTypeTrack().


The documentation for this class was generated from the following files: