16#include <unordered_map>
17#include <unordered_set>
23struct ColumnBlockPosition;
24class ColumnBlockPositionSet;
Simple container to keep track of sheet - column pair.
Keep track of all named expressions that have been updated during reference update.
UpdatedNamesType maUpdatedNames
std::unordered_set< sal_uInt16 > NameIndicesType
std::unordered_map< SCTAB, NameIndicesType > UpdatedNamesType
NameIndicesType getUpdatedNames(SCTAB nTab) const
bool isNameUpdated(SCTAB nTab, sal_uInt16 nIndex) const
void setUpdatedName(SCTAB nTab, sal_uInt16 nIndex)
bool isEmpty(SCTAB nTab) const
CAUTION! The following defines must be in the same namespace as the respective type.
Store position data for column array storage.
Context for reference update during shifting, moving or copying of cell ranges.
ColumnBlockPosition * getBlockPosition(SCTAB nTab, SCCOL nCol)
SCROW mnRowDelta
Amount and direction of movement in the row direction.
UpdateRefMode meMode
update mode - insert/delete, copy, or move.
RefUpdateContext(ScDocument &rDoc, ScDocument *pClipdoc=nullptr)
void setBlockPositionReference(ColumnBlockPositionSet *blockPos)
SCCOL mnColDelta
Amount and direction of movement in the column direction.
bool mbTransposed
Are the data transposed?
SCTAB mnTabDelta
Amount and direction of movement in the sheet direction.
ColumnBlockPositionSet * mpBlockPos
ScRange maRange
Range of cells that are about to be moved for insert/delete/move modes.
UpdatedRangeNames maUpdatedNames
UpdatedRangeNames maUpdatedNames
UpdatedRangeNames maUpdatedNames
RefUpdateMoveTabContext(ScDocument &rDoc, SCTAB nOldPos, SCTAB nNewPos)
UpdatedRangeNames maUpdatedNames
SCTAB getNewTab(SCTAB nOldTab) const
bool mbReferenceModified
This flag indicates whether any reference in the token array has been modified.
bool mbValueChanged
When this flag is true, the result of the formula needs to be re-calculated either because it contain...
bool mbNameModified
When this flag is true, it indicates that the token array contains a range name that's been updated.
bool mbClearTabDeletedFlag
When true, go through all reference tokens and clears "sheet deleted" flag if its corresponding index...