|
LibreOffice Module sc (master) 1
|
#include <namemgrtable.hxx>
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< ScRangeNameLine > | GetSelectedEntries () |
| void | BlockUpdate () |
| bool | UpdatesBlocked () const |
| void | UnblockUpdate () |
Private Member Functions | |
| void | GetLine (ScRangeNameLine &aLine, const weld::TreeIter &rEntry) |
| void | Init () |
| const ScRangeData * | findRangeData (const ScRangeNameLine &rLine) |
| DECL_DLLPRIVATE_LINK (SizeAllocHdl, const Size &, void) | |
| DECL_DLLPRIVATE_LINK (VisRowsScrolledHdl, weld::TreeView &, void) | |
Private Attributes | |
| std::unique_ptr< weld::TreeView > | m_xTreeView |
| OUString | maGlobalString |
| const std::map< OUString, ScRangeName > & | m_RangeMap |
| std::map< OUString, bool > | maCalculatedFormulaEntries |
| const ScAddress | maPos |
| int | m_nId |
| bool | mbNeedUpdate |
Definition at line 30 of file namemgrtable.hxx.
| 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.
| void ScRangeManagerTable::addEntry | ( | const ScRangeNameLine & | rLine, |
| bool | bSetCurEntry | ||
| ) |
Definition at line 121 of file namemgrtable.cxx.
References ScRangeNameLine::aExpression, ScRangeNameLine::aName, ScRangeNameLine::aScope, m_nId, and m_xTreeView.
Referenced by Init().
|
inline |
Definition at line 75 of file namemgrtable.hxx.
| void ScRangeManagerTable::CheckForFormulaString | ( | ) |
Definition at line 93 of file namemgrtable.cxx.
References findRangeData(), GetLine(), m_xTreeView, maCalculatedFormulaEntries, maPos, pData, sId, and UpdatesBlocked().
|
inline |
Definition at line 64 of file namemgrtable.hxx.
|
private |
|
private |
| void ScRangeManagerTable::DeleteSelectedEntries | ( | ) |
Definition at line 31 of file namemgrtable.cxx.
References m_xTreeView.
|
private |
Definition at line 82 of file namemgrtable.cxx.
References ScRangeNameLine::aName, ScRangeNameLine::aScope, ScRangeName::findByUpperName(), ScGlobal::getCharClass(), m_RangeMap, maGlobalString, and STR_GLOBAL_RANGE_NAME.
Referenced by CheckForFormulaString().
| void ScRangeManagerTable::GetCurrentLine | ( | ScRangeNameLine & | rLine | ) |
Definition at line 24 of file namemgrtable.cxx.
References GetLine(), and m_xTreeView.
|
private |
Definition at line 134 of file namemgrtable.cxx.
References ScRangeNameLine::aExpression, ScRangeNameLine::aName, ScRangeNameLine::aScope, and m_xTreeView.
Referenced by CheckForFormulaString(), GetCurrentLine(), and GetSelectedEntries().
| std::vector< ScRangeNameLine > ScRangeManagerTable::GetSelectedEntries | ( | ) |
Definition at line 165 of file namemgrtable.cxx.
References GetLine(), and m_xTreeView.
|
private |
Definition at line 141 of file namemgrtable.cxx.
References addEntry(), ScRangeNameLine::aName, ScRangeNameLine::aScope, ScRangeData::Database, m_RangeMap, m_xTreeView, maGlobalString, and STR_GLOBAL_RANGE_NAME.
Referenced by ScRangeManagerTable().
| bool ScRangeManagerTable::IsMultiSelection | ( | ) | const |
Definition at line 39 of file namemgrtable.cxx.
References m_xTreeView.
|
inline |
Definition at line 63 of file namemgrtable.hxx.
|
inline |
Definition at line 65 of file namemgrtable.hxx.
References nPos.
| void ScRangeManagerTable::SetEntry | ( | const ScRangeNameLine & | rLine | ) |
Definition at line 44 of file namemgrtable.cxx.
References ScRangeNameLine::aName, ScRangeNameLine::aScope, i, and m_xTreeView.
|
inline |
Definition at line 85 of file namemgrtable.hxx.
|
inline |
Definition at line 80 of file namemgrtable.hxx.
Referenced by CheckForFormulaString().
|
private |
Definition at line 45 of file namemgrtable.hxx.
Referenced by addEntry().
|
private |
Definition at line 38 of file namemgrtable.hxx.
Referenced by findRangeData(), and Init().
|
private |
Definition at line 33 of file namemgrtable.hxx.
Referenced by addEntry(), CheckForFormulaString(), DeleteSelectedEntries(), GetCurrentLine(), GetLine(), GetSelectedEntries(), Init(), IsMultiSelection(), ScRangeManagerTable(), and SetEntry().
|
private |
Definition at line 42 of file namemgrtable.hxx.
Referenced by CheckForFormulaString().
|
private |
Definition at line 35 of file namemgrtable.hxx.
Referenced by findRangeData(), and Init().
|
private |
Definition at line 43 of file namemgrtable.hxx.
Referenced by CheckForFormulaString().
|
private |
Definition at line 47 of file namemgrtable.hxx.