LibreOffice Module sc (master) 1
|
Keep track of all named expressions that have been updated during reference update. More...
#include <refupdatecontext.hxx>
Public Types | |
typedef std::unordered_set< sal_uInt16 > | NameIndicesType |
Public Member Functions | |
void | setUpdatedName (SCTAB nTab, sal_uInt16 nIndex) |
bool | isNameUpdated (SCTAB nTab, sal_uInt16 nIndex) const |
NameIndicesType | getUpdatedNames (SCTAB nTab) const |
bool | isEmpty (SCTAB nTab) const |
Private Types | |
typedef std::unordered_map< SCTAB, NameIndicesType > | UpdatedNamesType |
Private Attributes | |
UpdatedNamesType | maUpdatedNames |
Keep track of all named expressions that have been updated during reference update.
Can also be used to collect any set of named expressions / ranges.
Definition at line 32 of file refupdatecontext.hxx.
typedef std::unordered_set<sal_uInt16> sc::UpdatedRangeNames::NameIndicesType |
Definition at line 35 of file refupdatecontext.hxx.
|
private |
Definition at line 43 of file refupdatecontext.hxx.
UpdatedRangeNames::NameIndicesType sc::UpdatedRangeNames::getUpdatedNames | ( | SCTAB | nTab | ) | const |
Definition at line 53 of file refupdatecontext.cxx.
References maUpdatedNames.
Referenced by ScDocument::CopyRangeNamesToClip().
bool sc::UpdatedRangeNames::isEmpty | ( | SCTAB | nTab | ) | const |
Definition at line 61 of file refupdatecontext.cxx.
References maUpdatedNames.
Referenced by ScDocument::CopyAdjustRangeName().
bool sc::UpdatedRangeNames::isNameUpdated | ( | SCTAB | nTab, |
sal_uInt16 | nIndex | ||
) | const |
Definition at line 43 of file refupdatecontext.cxx.
References maUpdatedNames, and nIndex.
Referenced by ScDocument::FindRangeNamesReferencingSheet().
void sc::UpdatedRangeNames::setUpdatedName | ( | SCTAB | nTab, |
sal_uInt16 | nIndex | ||
) |
Definition at line 17 of file refupdatecontext.cxx.
References maUpdatedNames, and nIndex.
Referenced by ScDocument::FindRangeNamesReferencingSheet(), lcl_FindRangeNamesInUse(), ScRangeData::UpdateDeleteTab(), ScRangeData::UpdateInsertTab(), ScRangeData::UpdateMoveTab(), and ScRangeData::UpdateReference().
|
private |
Definition at line 45 of file refupdatecontext.hxx.
Referenced by getUpdatedNames(), isEmpty(), isNameUpdated(), and setUpdatedName().