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