29 std::pair<UpdatedNamesType::iterator,bool> r =
50 return rIndices.count(
nIndex) > 0;
70 , mbTransposed(pClipdoc != nullptr && pClipdoc->GetClipParam().isTransposed())
76 assert((pClipdoc ==
nullptr || pClipdoc->
IsClipboard()) &&
"only nullptr or clipdoc allowed");
102 mrDoc(rDoc), mnInsertPos(nInsertPos), mnSheets(nSheets) {}
105 mrDoc(rDoc), mnDeletePos(nDeletePos), mnSheets(nSheets) {}
108 mrDoc(rDoc), mnOldPos(nOldPos), mnNewPos(nNewPos) {}
116 if (nOldTab < nLowerBound || nUpperBound < nOldTab)
135 mnTabDeletedStart(-1), mnTabDeletedEnd(-1), mbClearTabDeletedFlag(false) {}
ColumnBlockPosition * getBlockPosition(SCTAB nTab, SCCOL nCol)
UpdatedNamesType maUpdatedNames
std::unordered_set< sal_uInt16 > NameIndicesType
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.
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.
SCTAB mnTabDelta
Amount and direction of movement in the sheet direction.
ColumnBlockPositionSet * mpBlockPos
RefUpdateDeleteTabContext(ScDocument &rDoc, SCTAB nInsertPos, SCTAB nSheets)
RefUpdateInsertTabContext(ScDocument &rDoc, SCTAB nInsertPos, SCTAB nSheets)
RefUpdateMoveTabContext(ScDocument &rDoc, SCTAB nOldPos, SCTAB nNewPos)
SCTAB getNewTab(SCTAB nOldTab) const