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 33 of file refupdatecontext.hxx.
typedef std::unordered_set<sal_uInt16> sc::UpdatedRangeNames::NameIndicesType |
Definition at line 36 of file refupdatecontext.hxx.
|
private |
Definition at line 44 of file refupdatecontext.hxx.
UpdatedRangeNames::NameIndicesType sc::UpdatedRangeNames::getUpdatedNames | ( | SCTAB | nTab | ) | const |
Definition at line 52 of file refupdatecontext.cxx.
References maUpdatedNames.
Referenced by ScDocument::CopyRangeNamesToClip().
bool sc::UpdatedRangeNames::isEmpty | ( | SCTAB | nTab | ) | const |
Definition at line 60 of file refupdatecontext.cxx.
References maUpdatedNames.
Referenced by ScDocument::CopyAdjustRangeName().
bool sc::UpdatedRangeNames::isNameUpdated | ( | SCTAB | nTab, |
sal_uInt16 | nIndex | ||
) | const |
Definition at line 42 of file refupdatecontext.cxx.
References maUpdatedNames.
Referenced by ScDocument::FindRangeNamesReferencingSheet().
Definition at line 16 of file refupdatecontext.cxx.
References maUpdatedNames.
Referenced by ScDocument::FindRangeNamesReferencingSheet(), lcl_FindRangeNamesInUse(), ScRangeData::UpdateDeleteTab(), ScRangeData::UpdateInsertTab(), ScRangeData::UpdateMoveTab(), and ScRangeData::UpdateReference().
|
private |
Definition at line 46 of file refupdatecontext.hxx.
Referenced by getUpdatedNames(), isEmpty(), isNameUpdated(), and setUpdatedName().