Lines Matching refs:aRange
641 ScRange aRange( 0, 0, nTab, 0, 0, nTab ); in SetChangeTrack() local
643 aRange.aEnd.SetCol( MAXCOL ); in SetChangeTrack()
645 aRange.aEnd.SetRow( MAXROW ); in SetChangeTrack()
654 aRange.aStart.SetRow( nStart ); in SetChangeTrack()
655 aRange.aEnd.SetRow( nEnd ); in SetChangeTrack()
659 aRange.aStart.SetCol( static_cast<SCCOL>(nStart) ); in SetChangeTrack()
660 aRange.aEnd.SetCol( static_cast<SCCOL>(nEnd) ); in SetChangeTrack()
663 pChangeTrack->AppendDeleteRange( aRange, pRefUndoDoc, in SetChangeTrack()
768 ScRange aRange, ScAddress aOldEnd, const ScMarkData& rMark, in ScUndoCut() argument
770 ScBlockUndo( pNewDocShell, ScRange(aRange.aStart, aOldEnd), SC_UNDO_AUTOHEIGHT ), in ScUndoCut()
773 aExtendedRange( aRange ) in ScUndoCut()
1192 void ScUndoDragDrop::PaintArea( ScRange aRange, sal_uInt16 nExtFlags ) const in PaintArea() argument
1203 if ( pDoc->SetOptimalHeight( aRange.aStart.Row(), aRange.aEnd.Row(), in PaintArea()
1204 aRange.aStart.Tab(), 0, &aVirtDev, in PaintArea()
1209 aRange.aStart.SetCol(0); in PaintArea()
1210 aRange.aEnd.SetCol(MAXCOL); in PaintArea()
1211 aRange.aEnd.SetRow(MAXROW); in PaintArea()
1219 aRange.aStart.SetCol(0); in PaintArea()
1220 aRange.aStart.SetRow(0); in PaintArea()
1221 aRange.aEnd.SetCol(MAXCOL); in PaintArea()
1222 aRange.aEnd.SetRow(MAXROW); in PaintArea()
1229 aRange.aEnd.SetRow(MAXROW); in PaintArea()
1234 aRange.aEnd.SetCol(MAXCOL); in PaintArea()
1237 pDocShell->PostPaint( aRange, nPaint, nExtFlags ); in PaintArea()
1241 void ScUndoDragDrop::DoUndo( ScRange aRange ) const in DoUndo()
1251 ScRange aPaintRange = aRange; in DoUndo()
1260 pDoc->DeleteAreaTab( aRange, nUndoFlags ); in DoUndo()
1261 pRefUndoDoc->CopyToDocument( aRange, nUndoFlags, sal_False, pDoc ); in DoUndo()
1262 if ( pDoc->HasAttrib( aRange, HASATTR_MERGED ) ) in DoUndo()
1263 pDoc->ExtendMerge( aRange, sal_True ); in DoUndo()
1265 aPaintRange.aEnd.SetCol( Max( aPaintRange.aEnd.Col(), aRange.aEnd.Col() ) ); in DoUndo()
1266 aPaintRange.aEnd.SetRow( Max( aPaintRange.aEnd.Row(), aRange.aEnd.Row() ) ); in DoUndo()
1455 aRange.aStart.SetCol(rDestArea.nColStart); in ScUndoUseScenario()
1456 aRange.aStart.SetRow(rDestArea.nRowStart); in ScUndoUseScenario()
1457 aRange.aStart.SetTab(rDestArea.nTab); in ScUndoUseScenario()
1458 aRange.aEnd.SetCol(rDestArea.nColEnd); in ScUndoUseScenario()
1459 aRange.aEnd.SetRow(rDestArea.nRowEnd); in ScUndoUseScenario()
1460 aRange.aEnd.SetTab(rDestArea.nTab); in ScUndoUseScenario()
1486 pUndoDoc->CopyToDocument( aRange, IDF_ALL, sal_True, pDoc, &aMarkData ); in Undo()
1490 SCTAB nTab = aRange.aStart.Tab(); in Undo()
1518 pDocShell->PostPaint( aRange, PAINT_GRID | PAINT_EXTRAS ); in Undo()
1523 ShowTable( aRange.aStart.Tab() ); in Undo()
1530 SCTAB nTab = aRange.aStart.Tab(); in Redo()
1581 aRange( rRange ) in ScUndoSelectionStyle()
1602 ScRange aWorkRange( aRange ); in DoChange()
1782 ScRange aRange; in lcl_GetMultiMarkRange() local
1783 rMark.GetMultiMarkArea( aRange ); in lcl_GetMultiMarkRange()
1784 return aRange; in lcl_GetMultiMarkRange()
2153 ScRange aRange = *rRanges.GetObject(i); in lcl_TotalRange() local
2155 aTotal = aRange; in lcl_TotalRange()
2158 if (aRange.aStart.Col() < aTotal.aStart.Col()) in lcl_TotalRange()
2159 aTotal.aStart.SetCol(aRange.aStart.Col()); in lcl_TotalRange()
2160 if (aRange.aStart.Row() < aTotal.aStart.Row()) in lcl_TotalRange()
2161 aTotal.aStart.SetRow(aRange.aStart.Row()); in lcl_TotalRange()
2162 if (aRange.aStart.Tab() < aTotal.aStart.Tab()) in lcl_TotalRange()
2163 aTotal.aStart.SetTab(aRange.aStart.Tab()); in lcl_TotalRange()
2164 if (aRange.aEnd.Col() > aTotal.aEnd.Col()) in lcl_TotalRange()
2165 aTotal.aEnd.SetCol(aRange.aEnd.Col()); in lcl_TotalRange()
2166 if (aRange.aEnd.Row() > aTotal.aEnd.Row()) in lcl_TotalRange()
2167 aTotal.aEnd.SetRow(aRange.aEnd.Row()); in lcl_TotalRange()
2168 if (aRange.aEnd.Tab() > aTotal.aEnd.Tab()) in lcl_TotalRange()
2169 aTotal.aEnd.SetTab(aRange.aEnd.Tab()); in lcl_TotalRange()
2221 ScRange aRange = *pRanges->GetObject(i); in Redo() local
2222 SCTAB nTab = aRange.aStart.Tab(); in Redo()
2225 aMark.SetMarkArea( aRange ); in Redo()