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

#include <navicfg.hxx>

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

Public Member Functions

 SwNavigationConfig ()
 
virtual ~SwNavigationConfig () override
 
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)
 
- 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 nRootType
 
sal_Int32 nSelectedPos
 
sal_Int32 nOutlineLevel
 
RegionMode nRegionMode
 
sal_Int32 nActiveBlock
 
bool bIsSmall
 
bool bIsGlobalActive
 

Additional Inherited Members

- 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 27 of file navicfg.hxx.

Constructor & Destructor Documentation

SwNavigationConfig::SwNavigationConfig ( )
SwNavigationConfig::~SwNavigationConfig ( )
overridevirtual

Definition at line 102 of file navicfg.cxx.

Member Function Documentation

sal_Int32 SwNavigationConfig::GetActiveBlock ( ) const
inline

Definition at line 74 of file navicfg.hxx.

References nActiveBlock.

Referenced by SwContentTree::SwContentTree().

sal_Int32 SwNavigationConfig::GetOutlineLevel ( ) const
inline

Definition at line 56 of file navicfg.hxx.

References nOutlineLevel.

Referenced by SwNavigationChild::SwNavigationChild().

Sequence< OUString > SwNavigationConfig::GetPropertyNames ( )
staticprivate

Definition at line 33 of file navicfg.cxx.

Referenced by ImplCommit(), and SwNavigationConfig().

RegionMode SwNavigationConfig::GetRegionMode ( ) const
inline

Definition at line 65 of file navicfg.hxx.

References nRegionMode.

Referenced by SwNavigationChild::SwNavigationChild().

ContentTypeId SwNavigationConfig::GetRootType ( ) const
inline

Definition at line 47 of file navicfg.hxx.

References nRootType.

Referenced by SwNavigationChild::SwNavigationChild().

void SwNavigationConfig::ImplCommit ( )
overrideprivatevirtual
bool SwNavigationConfig::IsGlobalActive ( ) const
inline

Definition at line 92 of file navicfg.hxx.

References bIsGlobalActive.

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

bool SwNavigationConfig::IsSmall ( ) const
inline

Definition at line 83 of file navicfg.hxx.

References bIsSmall.

Referenced by SwNavigationChild::SwNavigationChild().

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

Implements utl::ConfigItem.

Definition at line 128 of file navicfg.cxx.

void SwNavigationConfig::SetActiveBlock ( sal_Int32  nSet)
inline

Definition at line 75 of file navicfg.hxx.

References utl::ConfigItem::SetModified().

Referenced by SwContentTree::Collapse(), and SwContentTree::Expand().

void SwNavigationConfig::SetGlobalActive ( bool  bSet)
inline

Definition at line 93 of file navicfg.hxx.

References utl::ConfigItem::SetModified().

void SwNavigationConfig::SetOutlineLevel ( sal_Int32  nSet)
inline

Definition at line 57 of file navicfg.hxx.

References utl::ConfigItem::SetModified().

Referenced by SwContentTree::SetOutlineLevel().

void SwNavigationConfig::SetRegionMode ( RegionMode  nSet)
inline

Definition at line 66 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 84 of file navicfg.hxx.

References utl::ConfigItem::SetModified().

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

Member Data Documentation

bool SwNavigationConfig::bIsGlobalActive
private

Definition at line 35 of file navicfg.hxx.

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

bool SwNavigationConfig::bIsSmall
private

Definition at line 34 of file navicfg.hxx.

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

sal_Int32 SwNavigationConfig::nActiveBlock
private

Definition at line 33 of file navicfg.hxx.

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

sal_Int32 SwNavigationConfig::nOutlineLevel
private

Definition at line 31 of file navicfg.hxx.

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

RegionMode SwNavigationConfig::nRegionMode
private

Definition at line 32 of file navicfg.hxx.

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

ContentTypeId SwNavigationConfig::nRootType
private

Definition at line 29 of file navicfg.hxx.

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

sal_Int32 SwNavigationConfig::nSelectedPos
private

Definition at line 30 of file navicfg.hxx.

Referenced by ImplCommit(), and SwNavigationConfig().


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