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

#include <namemgrtable.hxx>

Collaboration diagram for ScRangeManagerTable:
[legend]

Public Member Functions

 ScRangeManagerTable (std::unique_ptr< weld::TreeView >, const std::map< OUString, ScRangeName > &rTabRangeNames, const ScAddress &rPos)
 
void CheckForFormulaString ()
 
int n_children () const
 
void connect_changed (const Link< weld::TreeView &, void > &rLink)
 
void set_cursor (int nPos)
 
void addEntry (const ScRangeNameLine &rLine, bool bSetCurEntry)
 
void DeleteSelectedEntries ()
 
void SetEntry (const ScRangeNameLine &rLine)
 
void GetCurrentLine (ScRangeNameLine &rLine)
 
bool IsMultiSelection () const
 
std::vector< ScRangeNameLineGetSelectedEntries ()
 
void BlockUpdate ()
 
bool UpdatesBlocked () const
 
void UnblockUpdate ()
 

Private Member Functions

void GetLine (ScRangeNameLine &aLine, const weld::TreeIter &rEntry)
 
void Init ()
 
const ScRangeDatafindRangeData (const ScRangeNameLine &rLine)
 
 DECL_DLLPRIVATE_LINK (SizeAllocHdl, const Size &, void)
 
 DECL_DLLPRIVATE_LINK (VisRowsScrolledHdl, weld::TreeView &, void)
 

Private Attributes

std::unique_ptr< weld::TreeViewm_xTreeView
 
OUString maGlobalString
 
const std::map< OUString, ScRangeName > & m_RangeMap
 
std::map< OUString, bool > maCalculatedFormulaEntries
 
const ScAddress maPos
 
int m_nId
 
bool mbNeedUpdate
 

Detailed Description

Definition at line 30 of file namemgrtable.hxx.

Constructor & Destructor Documentation

◆ ScRangeManagerTable()

ScRangeManagerTable::ScRangeManagerTable ( std::unique_ptr< weld::TreeView xTreeView,
const std::map< OUString, ScRangeName > &  rTabRangeNames,
const ScAddress rPos 
)

Definition at line 56 of file namemgrtable.cxx.

References Init(), LINK, and m_xTreeView.

Member Function Documentation

◆ addEntry()

void ScRangeManagerTable::addEntry ( const ScRangeNameLine rLine,
bool  bSetCurEntry 
)

◆ BlockUpdate()

void ScRangeManagerTable::BlockUpdate ( )
inline

Definition at line 75 of file namemgrtable.hxx.

◆ CheckForFormulaString()

void ScRangeManagerTable::CheckForFormulaString ( )

◆ connect_changed()

void ScRangeManagerTable::connect_changed ( const Link< weld::TreeView &, void > &  rLink)
inline

Definition at line 64 of file namemgrtable.hxx.

◆ DECL_DLLPRIVATE_LINK() [1/2]

ScRangeManagerTable::DECL_DLLPRIVATE_LINK ( SizeAllocHdl  ,
const Size ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [2/2]

ScRangeManagerTable::DECL_DLLPRIVATE_LINK ( VisRowsScrolledHdl  ,
weld::TreeView ,
void   
)
private

◆ DeleteSelectedEntries()

void ScRangeManagerTable::DeleteSelectedEntries ( )

Definition at line 31 of file namemgrtable.cxx.

References m_xTreeView.

◆ findRangeData()

const ScRangeData * ScRangeManagerTable::findRangeData ( const ScRangeNameLine rLine)
private

◆ GetCurrentLine()

void ScRangeManagerTable::GetCurrentLine ( ScRangeNameLine rLine)

Definition at line 24 of file namemgrtable.cxx.

References GetLine(), and m_xTreeView.

◆ GetLine()

void ScRangeManagerTable::GetLine ( ScRangeNameLine aLine,
const weld::TreeIter rEntry 
)
private

◆ GetSelectedEntries()

std::vector< ScRangeNameLine > ScRangeManagerTable::GetSelectedEntries ( )

Definition at line 165 of file namemgrtable.cxx.

References GetLine(), and m_xTreeView.

◆ Init()

void ScRangeManagerTable::Init ( void  )
private

◆ IsMultiSelection()

bool ScRangeManagerTable::IsMultiSelection ( ) const

Definition at line 39 of file namemgrtable.cxx.

References m_xTreeView.

◆ n_children()

int ScRangeManagerTable::n_children ( ) const
inline

Definition at line 63 of file namemgrtable.hxx.

◆ set_cursor()

void ScRangeManagerTable::set_cursor ( int  nPos)
inline

Definition at line 65 of file namemgrtable.hxx.

References nPos.

◆ SetEntry()

void ScRangeManagerTable::SetEntry ( const ScRangeNameLine rLine)

Definition at line 44 of file namemgrtable.cxx.

References ScRangeNameLine::aName, ScRangeNameLine::aScope, i, and m_xTreeView.

◆ UnblockUpdate()

void ScRangeManagerTable::UnblockUpdate ( )
inline

Definition at line 85 of file namemgrtable.hxx.

◆ UpdatesBlocked()

bool ScRangeManagerTable::UpdatesBlocked ( ) const
inline

Definition at line 80 of file namemgrtable.hxx.

Referenced by CheckForFormulaString().

Member Data Documentation

◆ m_nId

int ScRangeManagerTable::m_nId
private

Definition at line 45 of file namemgrtable.hxx.

Referenced by addEntry().

◆ m_RangeMap

const std::map<OUString, ScRangeName>& ScRangeManagerTable::m_RangeMap
private

Definition at line 38 of file namemgrtable.hxx.

Referenced by findRangeData(), and Init().

◆ m_xTreeView

std::unique_ptr<weld::TreeView> ScRangeManagerTable::m_xTreeView
private

◆ maCalculatedFormulaEntries

std::map<OUString, bool> ScRangeManagerTable::maCalculatedFormulaEntries
private

Definition at line 42 of file namemgrtable.hxx.

Referenced by CheckForFormulaString().

◆ maGlobalString

OUString ScRangeManagerTable::maGlobalString
private

Definition at line 35 of file namemgrtable.hxx.

Referenced by findRangeData(), and Init().

◆ maPos

const ScAddress ScRangeManagerTable::maPos
private

Definition at line 43 of file namemgrtable.hxx.

Referenced by CheckForFormulaString().

◆ mbNeedUpdate

bool ScRangeManagerTable::mbNeedUpdate
private

Definition at line 47 of file namemgrtable.hxx.


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