LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
ScNavigatorSettings Class Reference

Contains settings of the navigator listbox. More...

#include <navsett.hxx>

Collaboration diagram for ScNavigatorSettings:
[legend]

Public Member Functions

 ScNavigatorSettings ()
 Index of selected child entry. More...
 
void SetExpanded (ScContentId nIndex, bool bExpand)
 
bool IsExpanded (ScContentId nIndex) const
 
void SetRootSelected (ScContentId nIndex)
 
ScContentId GetRootSelected () const
 
void SetChildSelected (sal_uLong nIndex)
 
sal_uLong GetChildSelected () const
 

Private Attributes

o3tl::enumarray< ScContentId, bool > maExpandedVec
 
ScContentId mnRootSelected
 Array of Booleans for expand state. More...
 
sal_uLong mnChildSelected
 Index of selected root entry. More...
 

Detailed Description

Contains settings of the navigator listbox.

This includes the expand state of each listbox entry and the index of the selected entry and sub entry.

Definition at line 29 of file navsett.hxx.

Constructor & Destructor Documentation

◆ ScNavigatorSettings()

ScNavigatorSettings::ScNavigatorSettings ( )

Index of selected child entry.

Definition at line 303 of file navipi.cxx.

References o3tl::enumarray< typename E, typename V >::fill(), maExpandedVec, and ROOT.

Member Function Documentation

◆ GetChildSelected()

sal_uLong ScNavigatorSettings::GetChildSelected ( ) const
inline

Definition at line 46 of file navsett.hxx.

References mnChildSelected.

Referenced by ScContentTree::ApplyNavigatorSettings().

◆ GetRootSelected()

ScContentId ScNavigatorSettings::GetRootSelected ( ) const
inline

Definition at line 43 of file navsett.hxx.

References mnRootSelected.

Referenced by ScContentTree::ApplyNavigatorSettings().

◆ IsExpanded()

bool ScNavigatorSettings::IsExpanded ( ScContentId  nIndex) const
inline

Definition at line 40 of file navsett.hxx.

References maExpandedVec, and nIndex.

Referenced by ScContentTree::ApplyNavigatorSettings().

◆ SetChildSelected()

void ScNavigatorSettings::SetChildSelected ( sal_uLong  nIndex)
inline

Definition at line 45 of file navsett.hxx.

References mnChildSelected, and nIndex.

Referenced by ScContentTree::StoreNavigatorSettings().

◆ SetExpanded()

void ScNavigatorSettings::SetExpanded ( ScContentId  nIndex,
bool  bExpand 
)
inline

Definition at line 39 of file navsett.hxx.

References maExpandedVec, and nIndex.

Referenced by ScContentTree::StoreNavigatorSettings().

◆ SetRootSelected()

void ScNavigatorSettings::SetRootSelected ( ScContentId  nIndex)
inline

Definition at line 42 of file navsett.hxx.

References mnRootSelected, and nIndex.

Referenced by ScContentTree::StoreNavigatorSettings().

Member Data Documentation

◆ maExpandedVec

o3tl::enumarray<ScContentId,bool> ScNavigatorSettings::maExpandedVec
private

Definition at line 32 of file navsett.hxx.

Referenced by IsExpanded(), ScNavigatorSettings(), and SetExpanded().

◆ mnChildSelected

sal_uLong ScNavigatorSettings::mnChildSelected
private

Index of selected root entry.

Definition at line 34 of file navsett.hxx.

Referenced by GetChildSelected(), and SetChildSelected().

◆ mnRootSelected

ScContentId ScNavigatorSettings::mnRootSelected
private

Array of Booleans for expand state.

Definition at line 33 of file navsett.hxx.

Referenced by GetRootSelected(), and SetRootSelected().


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