Lines Matching refs:nTab

279 			SCTAB nTab;  in RepeatDB()  local
284 pDBData->GetArea( nTab, nStartCol, nStartRow, nEndCol, nEndRow ); in RepeatDB()
297 ScOutlineTable* pTable = pDoc->GetOutlineTable( nTab ); in RepeatDB()
308 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_True ); in RepeatDB()
310 nTab, static_cast<SCCOL>(nOutEndCol), MAXROW, nTab, in RepeatDB()
313 nTab, MAXCOL, static_cast<SCROW>(nOutEndRow), nTab, in RepeatDB()
317 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_False, sal_True ); in RepeatDB()
320 pDoc->CopyToDocument( 0,nStartRow,nTab, MAXCOL,nEndRow,nTab, IDF_ALL, sal_False, pUndoDoc ); in RepeatDB()
339 DoSubTotals( nTab, aSubTotalParam, NULL, sal_False, bApi ); in RepeatDB()
345 Sort( nTab, aSortParam, sal_False, sal_False, bApi ); in RepeatDB()
352 Query( nTab, aQueryParam, &aAdvSource, sal_False, bApi ); in RepeatDB()
354 Query( nTab, aQueryParam, NULL, sal_False, bApi ); in RepeatDB()
364 DoSubTotals( nTab, aSubTotalParam, NULL, sal_False, bApi ); in RepeatDB()
390 new ScUndoRepeatDB( &rDocShell, nTab, in RepeatDB()
400 rDocShell.PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, in RepeatDB()
413 sal_Bool ScDBDocFunc::Sort( SCTAB nTab, const ScSortParam& rSortParam, in Sort() argument
421 SCTAB nSrcTab = nTab; in Sort()
424 ScDBData* pDBData = pDoc->GetDBAtArea( nTab, rSortParam.nCol1, rSortParam.nRow1, in Sort()
436 rSortParam.nDestRow == rSortParam.nRow1 && rSortParam.nDestTab == nTab ) in Sort()
449 nTab = rSortParam.nDestTab; in Sort()
456 ScEditableTester aTester( pDoc, nTab, aLocalParam.nCol1,aLocalParam.nRow1, in Sort()
466 aLocalParam.nCol1, aLocalParam.nRow1, nTab, in Sort()
467 aLocalParam.nCol2, aLocalParam.nRow2, nTab, in Sort()
504 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_False, sal_True ); in Sort()
511 pDoc->CopyToDocument( aLocalParam.nCol1, aLocalParam.nRow1, nTab, in Sort()
512 aLocalParam.nCol2, aLocalParam.nRow2, nTab, in Sort()
531 pDoc->CopyToDocument( 0, aLocalParam.nRow1, nTab, MAXCOL, aLocalParam.nRow2, nTab, in Sort()
539 … pUndoAction = new ScUndoSort( &rDocShell, nTab, rSortParam, bRepeatQuery, pUndoDoc, pUndoDB, pR ); in Sort()
561 pDoc->Sort( nTab, aLocalParam, bRepeatQuery ); in Sort()
589 ScRange aDestPos( aLocalParam.nCol1, aLocalParam.nRow1, nTab, in Sort()
590 aLocalParam.nCol2, aLocalParam.nRow2, nTab ); in Sort()
598 pNewData->SetArea( nTab, in Sort()
611 ScRange aDirtyRange( aLocalParam.nCol1, aLocalParam.nRow1, nTab, in Sort()
612 aLocalParam.nCol2, aLocalParam.nRow2, nTab ); in Sort()
635 rDocShell.PostPaint( nStartX, nStartY, nTab, nEndX, nEndY, nTab, nPaint ); in Sort()
639 rDocShell.AdjustRowHeight( aLocalParam.nRow1, aLocalParam.nRow2, nTab ); in Sort()
652 sal_Bool ScDBDocFunc::Query( SCTAB nTab, const ScQueryParam& rQueryParam, in Query() argument
660 ScDBData* pDBData = pDoc->GetDBAtArea( nTab, rQueryParam.nCol1, rQueryParam.nRow1, in Query()
683 Query( nTab, aOldQuery, NULL, bRecord, bApi ); in Query()
696 rQueryParam.nDestRow == rQueryParam.nRow1 && rQueryParam.nDestTab == nTab ) in Query()
698 SCTAB nDestTab = nTab; in Query()
739 pDoc->GetCellType(ScAddress( nTestCol, nTestRow, nTab )) == CELLTYPE_FORMULA ) in Query()
790 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_False, sal_True ); in Query()
791 pDoc->CopyToDocument( 0, rQueryParam.nRow1, nTab, MAXCOL, rQueryParam.nRow2, nTab, in Query()
830 SCSIZE nCount = pDoc->Query( nTab, rQueryParam, bKeepSub ); in Query()
940 pDoc->InvalidatePageBreaks(nTab); in Query()
941 pDoc->UpdatePageBreaks( nTab ); in Query()
953 new ScUndoQuery( &rDocShell, nTab, rQueryParam, pUndoDoc, pUndoDB, in Query()
975 rDocShell.PostPaint( 0, rQueryParam.nRow1, nTab, MAXCOL, MAXROW, nTab, in Query()
984 sal_Bool ScDBDocFunc::DoSubTotals( SCTAB nTab, const ScSubTotalParam& rParam, in DoSubTotals() argument
998 ScDBData* pDBData = pDoc->GetDBAtArea( nTab, rParam.nCol1, rParam.nRow1, in DoSubTotals()
1006 ScEditableTester aTester( pDoc, nTab, 0,rParam.nRow1+1, MAXCOL,MAXROW ); in DoSubTotals()
1014 if (pDoc->HasAttrib( rParam.nCol1, rParam.nRow1+1, nTab, in DoSubTotals()
1015 rParam.nCol2, rParam.nRow2, nTab, HASATTR_MERGED | HASATTR_OVERLAPPED )) in DoSubTotals()
1025 if (pDoc->TestRemoveSubTotals( nTab, rParam )) in DoSubTotals()
1053 ScOutlineTable* pTable = pDoc->GetOutlineTable( nTab ); in DoSubTotals()
1064 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_True ); in DoSubTotals()
1065 …pyToDocument( static_cast<SCCOL>(nOutStartCol), 0, nTab, static_cast<SCCOL>(nOutEndCol), MAXROW, n… in DoSubTotals()
1066 …pDoc->CopyToDocument( 0, nOutStartRow, nTab, MAXCOL, nOutEndRow, nTab, IDF_NONE, sal_False, pUndoD… in DoSubTotals()
1069 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_False, bOldFilter ); in DoSubTotals()
1072 pDoc->CopyToDocument( 0,rParam.nRow1+1,nTab, MAXCOL,rParam.nRow2,nTab, in DoSubTotals()
1089 ScOutlineTable* pOut = pDoc->GetOutlineTable( nTab ); in DoSubTotals()
1094 pDoc->RemoveSubTotals( nTab, aNewParam ); in DoSubTotals()
1101 pDBData->SetArea( nTab, aNewParam.nCol1,aNewParam.nRow1, aNewParam.nCol2,aNewParam.nRow2 ); in DoSubTotals()
1109 Sort( nTab, aSortParam, sal_False, sal_False, bApi ); in DoSubTotals()
1112 bSuccess = pDoc->DoSubTotals( nTab, aNewParam ); in DoSubTotals()
1114 ScRange aDirtyRange( aNewParam.nCol1, aNewParam.nRow1, nTab, in DoSubTotals()
1115 aNewParam.nCol2, aNewParam.nRow2, nTab ); in DoSubTotals()
1122 new ScUndoSubTotals( &rDocShell, nTab, in DoSubTotals()
1137 pDBData->SetArea( nTab, aNewParam.nCol1,aNewParam.nRow1, aNewParam.nCol2,aNewParam.nRow2 ); in DoSubTotals()
1140 rDocShell.PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, in DoSubTotals()
1221 SCTAB nTab = aRange.aStart.Tab(); in DataPilotUpdate() local
1226 pOldUndoDoc->InitUndo( pDoc, nTab, nTab ); in DataPilotUpdate()
1232 nTab, IDF_ALL ); in DataPilotUpdate()
1235 nTab, SC_MF_AUTO ); in DataPilotUpdate()
1240 rDocShell.PostPaint( aRange.aStart.Col(), aRange.aStart.Row(), nTab, in DataPilotUpdate()
1241 aRange.aEnd.Col(), aRange.aEnd.Row(), nTab, in DataPilotUpdate()
1252 SCTAB nTab = aRange.aStart.Tab(); in DataPilotUpdate() local
1254 pOldUndoDoc->InitUndo( pDoc, nTab, nTab ); in DataPilotUpdate()
1375 SCTAB nTab = aNewOut.aStart.Tab(); in DataPilotUpdate() local
1377 pNewUndoDoc->InitUndo( pDoc, nTab, nTab ); in DataPilotUpdate()
1457 SCTAB nTab; in UpdateImport() local
1460 pData->GetArea( nTab, nDummyCol,nDummyRow,nDummyCol,nDummyRow ); in UpdateImport()
1477 sal_Bool bContinue = DoImport( nTab, aImportParam, &rDescriptor, sal_True ); in UpdateImport()