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
 
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 (const OUString &rSubTree, 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::~SwNavigationConfig ( )
overridevirtual

Definition at line 154 of file navicfg.cxx.

Member Function Documentation

sal_Int32 SwNavigationConfig::GetActiveBlock ( ) const
inline

Definition at line 78 of file navicfg.hxx.

References m_nActiveBlock.

Referenced by SwContentTree::SwContentTree().

sal_Int32 SwNavigationConfig::GetOutlineLevel ( ) const
inline

Definition at line 60 of file navicfg.hxx.

References m_nOutlineLevel.

Referenced by SwNavigationPI::SwNavigationPI().

sal_Int32 SwNavigationConfig::GetOutlineTracking ( ) const
inline

Definition at line 105 of file navicfg.hxx.

References m_nOutlineTracking.

Referenced by SwNavigationPI::SwNavigationPI().

Sequence< OUString > SwNavigationConfig::GetPropertyNames ( )
staticprivate

Definition at line 52 of file navicfg.cxx.

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

RegionMode SwNavigationConfig::GetRegionMode ( ) const
inline

Definition at line 69 of file navicfg.hxx.

References m_nRegionMode.

Referenced by SwNavigationPI::SwNavigationPI().

ContentTypeId SwNavigationConfig::GetRootType ( ) const
inline

Definition at line 51 of file navicfg.hxx.

References m_nRootType.

Referenced by SwNavigationPI::SwNavigationPI().

void SwNavigationConfig::ImplCommit ( )
overrideprivatevirtual
bool SwNavigationConfig::IsContentTypeTrack ( ContentTypeId  eCntTypeId)
inline

Definition at line 114 of file navicfg.hxx.

Referenced by SwNavigationPI::SwNavigationPI().

bool SwNavigationConfig::IsGlobalActive ( ) const
inline

Definition at line 96 of file navicfg.hxx.

References m_bIsGlobalActive.

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

bool SwNavigationConfig::IsNavigateOnSelect ( ) const
inline

Definition at line 127 of file navicfg.hxx.

References m_bIsNavigateOnSelect.

bool SwNavigationConfig::IsSmall ( ) const
inline

Definition at line 87 of file navicfg.hxx.

References m_bIsSmall.

Referenced by SwNavigatorWin::SwNavigatorWin().

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

Implements utl::ConfigItem.

Definition at line 188 of file navicfg.cxx.

References Load().

void SwNavigationConfig::SetActiveBlock ( sal_Int32  nSet)
inline

Definition at line 79 of file navicfg.hxx.

References utl::ConfigItem::SetModified().

Referenced by SwContentTree::Expand().

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

Definition at line 118 of file navicfg.hxx.

References utl::ConfigItem::SetModified().

Referenced by SwContentTree::SetContentTypeTracking().

void SwNavigationConfig::SetGlobalActive ( bool  bSet)
inline

Definition at line 97 of file navicfg.hxx.

References utl::ConfigItem::SetModified().

void SwNavigationConfig::SetOutlineLevel ( sal_Int32  nSet)
inline

Definition at line 61 of file navicfg.hxx.

References utl::ConfigItem::SetModified().

Referenced by SwContentTree::SetOutlineLevel().

void SwNavigationConfig::SetOutlineTracking ( sal_Int32  nSet)
inline

Definition at line 106 of file navicfg.hxx.

References utl::ConfigItem::SetModified().

Referenced by SwContentTree::SetOutlineTracking().

void SwNavigationConfig::SetRegionMode ( RegionMode  nSet)
inline

Definition at line 70 of file navicfg.hxx.

References utl::ConfigItem::SetModified().

Referenced by SwNavigationPI::SetRegionDropMode().

void SwNavigationConfig::SetRootType ( ContentTypeId  nSet)
inline
void SwNavigationConfig::SetSmall ( bool  bSet)
inline

Definition at line 88 of file navicfg.hxx.

References utl::ConfigItem::SetModified().

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

Member Data Documentation

bool SwNavigationConfig::m_bIsGlobalActive
private

Definition at line 34 of file navicfg.hxx.

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

bool SwNavigationConfig::m_bIsNavigateOnSelect
private

Definition at line 36 of file navicfg.hxx.

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

bool SwNavigationConfig::m_bIsSmall
private

Definition at line 33 of file navicfg.hxx.

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

sal_Int32 SwNavigationConfig::m_nActiveBlock
private

Definition at line 32 of file navicfg.hxx.

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

sal_Int32 SwNavigationConfig::m_nOutlineLevel
private

Definition at line 30 of file navicfg.hxx.

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

sal_Int32 SwNavigationConfig::m_nOutlineTracking
private

Definition at line 35 of file navicfg.hxx.

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

RegionMode SwNavigationConfig::m_nRegionMode
private

Definition at line 31 of file navicfg.hxx.

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

ContentTypeId SwNavigationConfig::m_nRootType
private

Definition at line 28 of file navicfg.hxx.

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

sal_Int32 SwNavigationConfig::m_nSelectedPos
private

Definition at line 29 of file navicfg.hxx.

Referenced by ImplCommit(), and Load().

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

Definition at line 38 of file navicfg.hxx.

Referenced by ImplCommit(), and Load().


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