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

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, NameIndicesTypeUpdatedNamesType
 

Private Attributes

UpdatedNamesType maUpdatedNames
 

Detailed Description

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.

Member Typedef Documentation

typedef std::unordered_set<sal_uInt16> sc::UpdatedRangeNames::NameIndicesType

Definition at line 36 of file refupdatecontext.hxx.

typedef std::unordered_map<SCTAB, NameIndicesType> sc::UpdatedRangeNames::UpdatedNamesType
private

Definition at line 44 of file refupdatecontext.hxx.

Member Function Documentation

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().

void sc::UpdatedRangeNames::setUpdatedName ( SCTAB  nTab,
sal_uInt16  nIndex 
)

Member Data Documentation

UpdatedNamesType sc::UpdatedRangeNames::maUpdatedNames
private

Definition at line 46 of file refupdatecontext.hxx.

Referenced by getUpdatedNames(), isEmpty(), isNameUpdated(), and setUpdatedName().


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