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 30 of file navsett.hxx.

Constructor & Destructor Documentation

ScNavigatorSettings::ScNavigatorSettings ( )

Index of selected child entry.

Definition at line 298 of file navipi.cxx.

References o3tl::enumarray< class, class >::fill(), maExpandedVec, and ROOT.

Member Function Documentation

sal_uLong ScNavigatorSettings::GetChildSelected ( ) const
inline

Definition at line 47 of file navsett.hxx.

References mnChildSelected.

Referenced by ScContentTree::ApplyNavigatorSettings().

ScContentId ScNavigatorSettings::GetRootSelected ( ) const
inline

Definition at line 44 of file navsett.hxx.

References mnRootSelected.

Referenced by ScContentTree::ApplyNavigatorSettings().

bool ScNavigatorSettings::IsExpanded ( ScContentId  nIndex) const
inline

Definition at line 41 of file navsett.hxx.

Referenced by ScContentTree::ApplyNavigatorSettings().

void ScNavigatorSettings::SetChildSelected ( sal_uLong  nIndex)
inline

Definition at line 46 of file navsett.hxx.

Referenced by ScContentTree::StoreNavigatorSettings().

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

Definition at line 40 of file navsett.hxx.

Referenced by ScContentTree::StoreNavigatorSettings().

void ScNavigatorSettings::SetRootSelected ( ScContentId  nIndex)
inline

Definition at line 43 of file navsett.hxx.

Referenced by ScContentTree::StoreNavigatorSettings().

Member Data Documentation

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

Definition at line 33 of file navsett.hxx.

Referenced by ScNavigatorSettings().

sal_uLong ScNavigatorSettings::mnChildSelected
private

Index of selected root entry.

Definition at line 35 of file navsett.hxx.

Referenced by GetChildSelected().

ScContentId ScNavigatorSettings::mnRootSelected
private

Array of Booleans for expand state.

Definition at line 34 of file navsett.hxx.

Referenced by GetRootSelected().


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