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, std::unique_ptr< 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_LINK (SizeAllocHdl, const Size &, void)
 
 DECL_LINK (VisRowsScrolledHdl, weld::TreeView &, void)
 

Private Attributes

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

Detailed Description

Definition at line 31 of file namemgrtable.hxx.

Constructor & Destructor Documentation

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

Definition at line 55 of file namemgrtable.cxx.

References Init(), LINK, m_xTreeView, and m_xTreeView.

Member Function Documentation

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

Definition at line 76 of file namemgrtable.hxx.

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

Definition at line 65 of file namemgrtable.hxx.

ScRangeManagerTable::DECL_LINK ( SizeAllocHdl  ,
const Size ,
void   
)
private
ScRangeManagerTable::DECL_LINK ( VisRowsScrolledHdl  ,
weld::TreeView ,
void   
)
private
void ScRangeManagerTable::DeleteSelectedEntries ( )

Definition at line 30 of file namemgrtable.cxx.

References m_xTreeView.

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

Definition at line 23 of file namemgrtable.cxx.

References GetLine(), and m_xTreeView.

void ScRangeManagerTable::GetLine ( ScRangeNameLine aLine,
const weld::TreeIter rEntry 
)
private
std::vector< ScRangeNameLine > ScRangeManagerTable::GetSelectedEntries ( )

Definition at line 169 of file namemgrtable.cxx.

References GetLine(), and m_xTreeView.

void ScRangeManagerTable::Init ( void  )
private
bool ScRangeManagerTable::IsMultiSelection ( ) const

Definition at line 38 of file namemgrtable.cxx.

References m_xTreeView.

int ScRangeManagerTable::n_children ( ) const
inline

Definition at line 64 of file namemgrtable.hxx.

void ScRangeManagerTable::set_cursor ( int  nPos)
inline

Definition at line 66 of file namemgrtable.hxx.

void ScRangeManagerTable::SetEntry ( const ScRangeNameLine rLine)

Definition at line 43 of file namemgrtable.cxx.

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

void ScRangeManagerTable::UnblockUpdate ( )
inline

Definition at line 86 of file namemgrtable.hxx.

bool ScRangeManagerTable::UpdatesBlocked ( ) const
inline

Definition at line 81 of file namemgrtable.hxx.

Referenced by CheckForFormulaString().

Member Data Documentation

int ScRangeManagerTable::m_nId
private

Definition at line 46 of file namemgrtable.hxx.

Referenced by addEntry().

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

Definition at line 39 of file namemgrtable.hxx.

Referenced by findRangeData(), and Init().

std::unique_ptr<weld::TreeView> ScRangeManagerTable::m_xTreeView
private
std::map<OUString, bool> ScRangeManagerTable::maCalculatedFormulaEntries
private

Definition at line 43 of file namemgrtable.hxx.

Referenced by CheckForFormulaString().

OUString ScRangeManagerTable::maGlobalString
private

Definition at line 36 of file namemgrtable.hxx.

Referenced by findRangeData(), and Init().

const ScAddress ScRangeManagerTable::maPos
private

Definition at line 44 of file namemgrtable.hxx.

Referenced by CheckForFormulaString().

bool ScRangeManagerTable::mbNeedUpdate
private

Definition at line 48 of file namemgrtable.hxx.


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