Lines Matching refs:nTab

86 	nTab( nNewTab ),  in ScUndoDoOutline()
117 if ( nVisTab != nTab ) in Undo()
118 pViewShell->SetTabNo( nTab ); in Undo()
130 pUndoDoc->CopyToDocument( static_cast<SCCOL>(nStart), 0, nTab, in Undo()
131 static_cast<SCCOL>(nEnd), MAXROW, nTab, IDF_NONE, sal_False, pDoc); in Undo()
133 pUndoDoc->CopyToDocument( 0, nStart, nTab, MAXCOL, nEnd, nTab, IDF_NONE, sal_False, pDoc ); in Undo()
137 pDocShell->PostPaint(0,0,nTab,MAXCOL,MAXROW,nTab,PAINT_GRID|PAINT_LEFT|PAINT_TOP); in Undo()
151 if ( nVisTab != nTab ) in Redo()
152 pViewShell->SetTabNo( nTab ); in Redo()
206 SCTAB nTab = aBlockStart.Tab(); in Undo() local
210 pDoc->SetOutlineTable( nTab, pUndoTable ); in Undo()
213 if ( nVisTab != nTab ) in Undo()
214 pViewShell->SetTabNo( nTab ); in Undo()
216 pDocShell->PostPaint(0,0,nTab,MAXCOL,MAXROW,nTab,PAINT_GRID|PAINT_LEFT|PAINT_TOP|PAINT_SIZE); in Undo()
268 nTab( nNewTab ), in ScUndoOutlineLevel()
296 pDoc->SetOutlineTable( nTab, pUndoTable ); in Undo()
301 pUndoDoc->CopyToDocument( static_cast<SCCOL>(nStart), 0, nTab, in Undo()
302 static_cast<SCCOL>(nEnd), MAXROW, nTab, IDF_NONE, sal_False, pDoc); in Undo()
304 pUndoDoc->CopyToDocument( 0, nStart, nTab, MAXCOL, nEnd, nTab, IDF_NONE, sal_False, pDoc ); in Undo()
306 pDoc->UpdatePageBreaks( nTab ); in Undo()
311 if ( nVisTab != nTab ) in Undo()
312 pViewShell->SetTabNo( nTab ); in Undo()
314 pDocShell->PostPaint(0,0,nTab,MAXCOL,MAXROW,nTab,PAINT_GRID|PAINT_LEFT|PAINT_TOP); in Undo()
328 if ( nVisTab != nTab ) in Redo()
329 pViewShell->SetTabNo( nTab ); in Redo()
383 SCTAB nTab = aBlockStart.Tab(); in Undo() local
387 pDoc->SetOutlineTable( nTab, pUndoTable ); in Undo()
405 pUndoDoc->CopyToDocument( static_cast<SCCOL>(nStartCol), 0, nTab, in Undo()
406 static_cast<SCCOL>(nEndCol), MAXROW, nTab, IDF_NONE, sal_False, pDoc ); in Undo()
407 pUndoDoc->CopyToDocument( 0, nStartRow, nTab, MAXCOL, nEndRow, nTab, IDF_NONE, sal_False, pDoc ); in Undo()
409 pDoc->UpdatePageBreaks( nTab ); in Undo()
414 if ( nVisTab != nTab ) in Undo()
415 pViewShell->SetTabNo( nTab ); in Undo()
417 pDocShell->PostPaint(0,0,nTab,MAXCOL,MAXROW,nTab,PAINT_GRID|PAINT_LEFT|PAINT_TOP); in Undo()
488 SCTAB nTab = aBlockStart.Tab(); in Undo() local
492 pDoc->SetOutlineTable( nTab, pUndoTable ); in Undo()
501 pUndoDoc->CopyToDocument( nStartCol, 0, nTab, nEndCol, MAXROW, nTab, IDF_NONE, sal_False, pDoc ); in Undo()
502 pUndoDoc->CopyToDocument( 0, nStartRow, nTab, MAXCOL, nEndRow, nTab, IDF_NONE, sal_False, pDoc ); in Undo()
504 pDoc->UpdatePageBreaks( nTab ); in Undo()
509 if ( nVisTab != nTab ) in Undo()
510 pViewShell->SetTabNo( nTab ); in Undo()
512 pDocShell->PostPaint(0,0,nTab,MAXCOL,MAXROW,nTab,PAINT_GRID|PAINT_LEFT|PAINT_TOP|PAINT_SIZE); in Undo()
525 SCTAB nTab = aBlockStart.Tab(); in Redo() local
527 if ( nVisTab != nTab ) in Redo()
528 pViewShell->SetTabNo( nTab ); in Redo()
579 SCTAB nTab = aBlockStart.Tab(); in Undo() local
583 pDoc->SetOutlineTable( nTab, pUndoTable ); in Undo()
596 pUndoDoc->CopyToDocument( static_cast<SCCOL>(nStartCol), 0, nTab, in Undo()
597 static_cast<SCCOL>(nEndCol), MAXROW, nTab, IDF_NONE, sal_False, in Undo()
599 pUndoDoc->CopyToDocument( 0, nStartRow, nTab, MAXCOL, nEndRow, nTab, IDF_NONE, sal_False, pDoc ); in Undo()
605 if ( nVisTab != nTab ) in Undo()
606 pViewShell->SetTabNo( nTab ); in Undo()
608 pDocShell->PostPaint(0,0,nTab,MAXCOL,MAXROW,nTab,PAINT_GRID|PAINT_LEFT|PAINT_TOP|PAINT_SIZE); in Undo()
619 SCTAB nTab = aBlockStart.Tab(); in Redo() local
625 if ( nVisTab != nTab ) in Redo()
626 pViewShell->SetTabNo( nTab ); in Redo()
629 ScRange aRange( aBlockStart.Col(), aBlockStart.Row(), nTab, in Redo()
630 aBlockEnd.Col(), aBlockEnd.Row(), nTab ); in Redo()
665 nTab( nNewTab ), in ScUndoSubTotals()
702 …pDoc->DeleteRow( 0,nTab, MAXCOL,nTab, aParam.nRow2+1, static_cast<SCSIZE>(nNewEndRow-aParam.nRow2)… in Undo()
706 …pDoc->InsertRow( 0,nTab, MAXCOL,nTab, nNewEndRow+1, static_cast<SCSIZE>(aParam.nRow2-nNewEndRow) ); in Undo()
712 pDoc->SetOutlineTable( nTab, pUndoTable ); in Undo()
725 pUndoDoc->CopyToDocument( static_cast<SCCOL>(nStartCol), 0, nTab, in Undo()
726 static_cast<SCCOL>(nEndCol), MAXROW, nTab, IDF_NONE, sal_False, in Undo()
728 pUndoDoc->CopyToDocument( 0, nStartRow, nTab, MAXCOL, nEndRow, nTab, IDF_NONE, sal_False, pDoc ); in Undo()
735 ScUndoUtil::MarkSimpleBlock( pDocShell, 0, aParam.nRow1+1, nTab, in Undo()
736 MAXCOL, aParam.nRow2, nTab ); in Undo()
738 pDoc->DeleteAreaTab( 0,aParam.nRow1+1, MAXCOL,aParam.nRow2, nTab, IDF_ALL ); in Undo()
740 pUndoDoc->CopyToDocument( 0, aParam.nRow1+1, nTab, MAXCOL, aParam.nRow2, nTab, in Undo()
742 pUndoDoc->UndoToDocument( 0, aParam.nRow1+1, nTab, MAXCOL, aParam.nRow2, nTab, in Undo()
745 ScUndoUtil::MarkSimpleBlock( pDocShell, aParam.nCol1,aParam.nRow1,nTab, in Undo()
746 aParam.nCol2,aParam.nRow2,nTab ); in Undo()
757 if ( nVisTab != nTab ) in Undo()
758 pViewShell->SetTabNo( nTab ); in Undo()
760 pDocShell->PostPaint(0,0,nTab,MAXCOL,MAXROW,nTab,PAINT_GRID|PAINT_LEFT|PAINT_TOP|PAINT_SIZE); in Undo()
773 if ( nVisTab != nTab ) in Redo()
774 pViewShell->SetTabNo( nTab ); in Redo()
776 ScUndoUtil::MarkSimpleBlock( pDocShell, aParam.nCol1,aParam.nRow1,nTab, in Redo()
777 aParam.nCol2,aParam.nRow2,nTab ); in Redo()
802 nTab( nNewTab ), in ScUndoSort()
838 SCTAB nSortTab = nTab; in Undo()
876 pDocShell->PostPaint(0,0,nTab,MAXCOL,MAXROW,nTab,PAINT_GRID|PAINT_LEFT|PAINT_TOP|PAINT_SIZE); in Undo()
889 if ( nVisTab != nTab ) in Redo()
890 pViewShell->SetTabNo( nTab ); in Redo()
896 pViewShell->MarkRange( ScRange( aSortParam.nCol1, aSortParam.nRow1, nTab, in Redo()
897 aSortParam.nCol2, aSortParam.nRow2, nTab ) ); in Redo()
903 pDocShell->PostPaint( aSortParam.nCol1, aSortParam.nRow1, nTab, in Redo()
904 aSortParam.nCol2, aSortParam.nRow2, nTab, PAINT_GRID ); in Redo()
928 nTab( nNewTab ), in ScUndoQuery()
1019 pUndoDoc->CopyToDocument( 0, aQueryParam.nRow1, nTab, MAXCOL, aQueryParam.nRow2, nTab, in Undo()
1027 pDoc->InvalidatePageBreaks(nTab); in Undo()
1028 pDoc->UpdatePageBreaks( nTab ); in Undo()
1031 ScRange aDirtyRange( 0 , aQueryParam.nRow1, nTab, in Undo()
1032 MAXCOL, aQueryParam.nRow2, nTab ); in Undo()
1038 if ( nVisTab != nTab ) in Undo()
1039 pViewShell->SetTabNo( nTab ); in Undo()
1060 pDocShell->PostPaint( 0, aQueryParam.nRow1, nTab, MAXCOL, MAXROW, nTab, in Undo()
1074 if ( nVisTab != nTab ) in Redo()
1075 pViewShell->SetTabNo( nTab ); in Redo()
1244 nTab( nNewTab ), in ScUndoImportData()
1278 ScUndoUtil::MarkSimpleBlock( pDocShell, aImportParam.nCol1,aImportParam.nRow1,nTab, in Undo()
1279 nEndCol,nEndRow,nTab ); in Undo()
1288 pCurrentData = ScUndoUtil::GetOldDBData( pRedoDBData, pDoc, nTab, in Undo()
1301 pDoc->CopyToDocument( nCopyCol,nRow1,nTab, nCopyCol,nRow2,nTab, in Undo()
1303 … pDoc->DeleteAreaTab( nCopyCol,nRow1, nCopyCol,nRow2, nTab, IDF_CONTENTS & ~IDF_NOTE ); in Undo()
1304 pDoc->DoColResize( nTab, nCopyCol, nCopyCol, 0 ); in Undo()
1321 aNew.aEnd.Col(), aNew.aEnd.Row(), nTab, IDF_ALL & ~IDF_NOTE ); in Undo()
1329 nEndCol,nEndRow, nTab, IDF_ALL & ~IDF_NOTE ); in Undo()
1331 pUndoDoc->CopyToDocument( aImportParam.nCol1,aImportParam.nRow1,nTab, in Undo()
1332 nEndCol+nFormulaCols,nEndRow,nTab, in Undo()
1347 if ( nVisTab != nTab ) in Undo()
1348 pViewShell->SetTabNo( nTab ); in Undo()
1351 pDocShell->PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, PAINT_GRID ); in Undo()
1353 pDocShell->PostPaint( aImportParam.nCol1,aImportParam.nRow1,nTab, in Undo()
1354 nEndCol,nEndRow,nTab, PAINT_GRID ); in Undo()
1367 ScUndoUtil::MarkSimpleBlock( pDocShell, aImportParam.nCol1,aImportParam.nRow1,nTab, in Redo()
1368 nEndCol,nEndRow,nTab ); in Redo()
1377 pCurrentData = ScUndoUtil::GetOldDBData( pUndoDBData, pDoc, nTab, in Redo()
1395 aNew.aEnd.Col(), aNew.aEnd.Row(), nTab, IDF_ALL & ~IDF_NOTE ); in Redo()
1402 nEndCol,nEndRow, nTab, IDF_ALL & ~IDF_NOTE ); in Redo()
1403 pRedoDoc->CopyToDocument( aImportParam.nCol1,aImportParam.nRow1,nTab, in Redo()
1404 nEndCol,nEndRow,nTab, IDF_ALL & ~IDF_NOTE, sal_False, pDoc ); in Redo()
1419 if ( nVisTab != nTab ) in Redo()
1420 pViewShell->SetTabNo( nTab ); in Redo()
1423 pDocShell->PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, PAINT_GRID ); in Redo()
1425 pDocShell->PostPaint( aImportParam.nCol1,aImportParam.nRow1,nTab, in Redo()
1426 nEndCol,nEndRow,nTab, PAINT_GRID ); in Redo()
1505 SCTAB nTab = aBlockStart.Tab(); in Undo() local
1517 pDoc->GetCellType(ScAddress( nCol, nRow, nTab )) == CELLTYPE_FORMULA ) in Undo()
1536 …pDoc->DeleteRow( 0,nTab, MAXCOL,nTab, aBlockEnd.Row()+1, static_cast<SCSIZE>(nNewEndRow-aBlockEnd.… in Undo()
1540 …pDoc->InsertRow( 0,nTab, MAXCOL,nTab, nNewEndRow+1, static_cast<SCSIZE>(nNewEndRow-aBlockEnd.Row()… in Undo()
1545 pDoc->SetOutlineTable( nTab, pUndoTable ); in Undo()
1558 pUndoDoc->CopyToDocument( static_cast<SCCOL>(nStartCol), 0, nTab, in Undo()
1559 static_cast<SCCOL>(nEndCol), MAXROW, nTab, IDF_NONE, sal_False, in Undo()
1561 pUndoDoc->CopyToDocument( 0, nStartRow, nTab, MAXCOL, nEndRow, nTab, IDF_NONE, sal_False, pDoc ); in Undo()
1568 ScUndoUtil::MarkSimpleBlock( pDocShell, 0, aBlockStart.Row(), nTab, in Undo()
1569 MAXCOL, aBlockEnd.Row(), nTab ); in Undo()
1571 MAXCOL, aBlockEnd.Row(), nTab, IDF_ALL ); in Undo()
1573 pUndoDoc->CopyToDocument( 0, aBlockStart.Row(), nTab, MAXCOL, aBlockEnd.Row(), nTab, in Undo()
1575 pUndoDoc->UndoToDocument( 0, aBlockStart.Row(), nTab, MAXCOL, aBlockEnd.Row(), nTab, in Undo()
1578 ScUndoUtil::MarkSimpleBlock( pDocShell, aBlockStart.Col(),aBlockStart.Row(),nTab, in Undo()
1579 aBlockEnd.Col(),aBlockEnd.Row(),nTab ); in Undo()
1590 if ( nVisTab != nTab ) in Undo()
1591 pViewShell->SetTabNo( nTab ); in Undo()
1593 pDocShell->PostPaint(0,0,nTab,MAXCOL,MAXROW,nTab,PAINT_GRID|PAINT_LEFT|PAINT_TOP|PAINT_SIZE); in Undo()
1604 SCTAB nTab = aBlockStart.Tab(); in Redo() local
1607 if ( nVisTab != nTab ) in Redo()
1608 pViewShell->SetTabNo( nTab ); in Redo()
1610 ScUndoUtil::MarkSimpleBlock( pDocShell, aBlockStart.Col(),aBlockStart.Row(),nTab, in Redo()
1611 aBlockEnd.Col(),aBlockEnd.Row(),nTab ); in Redo()
1989 SCTAB nTab = aDestArea.nTab; in Undo() local
1998 pDoc->DeleteRow( 0,nTab, MAXCOL,nTab, aDestArea.nRowStart, nInsertCount ); in Undo()
2001 pDoc->SetOutlineTable( nTab, pUndoTab ); in Undo()
2004 pUndoDoc->CopyToDocument( 0,0,nTab, MAXCOL,MAXROW,nTab, IDF_NONE, sal_False, pDoc ); in Undo()
2007 pDoc->DeleteAreaTab( 0,aDestArea.nRowStart, MAXCOL,aDestArea.nRowEnd, nTab, IDF_ALL ); in Undo()
2008 pUndoDoc->UndoToDocument( 0, aDestArea.nRowStart, nTab, in Undo()
2009 MAXCOL, aDestArea.nRowEnd, nTab, in Undo()
2019 pDocShell->PostPaint( 0,aDestArea.nRowStart,nTab, MAXCOL,MAXROW,nTab, in Undo()
2025 aDestArea.nColEnd,aDestArea.nRowEnd, nTab, IDF_ALL ); in Undo()
2026 pUndoDoc->CopyToDocument( aDestArea.nColStart, aDestArea.nRowStart, nTab, in Undo()
2027 aDestArea.nColEnd, aDestArea.nRowEnd, nTab, in Undo()
2046 pDocShell->PostPaint( aDestArea.nColStart, aDestArea.nRowStart, nTab, in Undo()
2047 nEndX, nEndY, nTab, PAINT_GRID ); in Undo()
2074 if ( nViewTab != nTab ) in Undo()
2075 pViewShell->SetTabNo( nTab ); in Undo()
2091 if ( nViewTab != aParam.nTab ) in Redo()
2092 pViewShell->SetTabNo( aParam.nTab ); in Redo()