Lines Matching refs:nTab
93 nTab( nTabNum ), in ScUndoInsertTab()
118 ScRange aRange( 0, 0, nTab, MAXCOL, MAXROW, nTab ); in SetChangeTrack()
129 pViewShell->SetTabNo(nTab); in Undo()
133 pViewShell->DeleteTable( nTab, sal_False ); in Undo()
159 pViewShell->SetTabNo(nTab); in Redo()
160 pViewShell->InsertTable( sNewName, nTab, sal_False ); in Redo()
190 nTab( nTabNum ), in ScUndoInsertTables()
227 ScRange aRange( 0, 0, nTab, MAXCOL, MAXROW, nTab ); in SetChangeTrack()
230 aRange.aStart.SetTab( sal::static_int_cast<SCTAB>( nTab + i ) ); in SetChangeTrack()
231 aRange.aEnd.SetTab( sal::static_int_cast<SCTAB>( nTab + i ) ); in SetChangeTrack()
243 pViewShell->SetTabNo(nTab); in Undo()
251 TheTabs.push_back( sal::static_int_cast<short>(nTab+i) ); in Undo()
278 pViewShell->SetTabNo(nTab); in Redo()
279 pViewShell->InsertTables( pNameList, nTab, static_cast<SCTAB>(pNameList->Count()),sal_False ); in Redo()
345 SCTAB lcl_GetVisibleTabBefore( ScDocument& rDoc, SCTAB nTab ) in lcl_GetVisibleTabBefore() argument
347 while ( nTab > 0 && !rDoc.IsVisible( nTab ) ) in lcl_GetVisibleTabBefore()
348 --nTab; in lcl_GetVisibleTabBefore()
350 return nTab; in lcl_GetVisibleTabBefore()
364 SCTAB nTab = theTabs[sal::static_int_cast<sal_uInt16>(i)]; in Undo() local
365 pRefUndoDoc->GetName( nTab, aName ); in Undo()
368 sal_Bool bOk = pDoc->InsertTab( nTab, aName ); in Undo()
374 pRefUndoDoc->CopyToDocument(0,0,nTab, MAXCOL,MAXROW,nTab, IDF_ALL,sal_False, pDoc ); in Undo()
377 pRefUndoDoc->GetName( nTab, aOldName ); in Undo()
378 pDoc->RenameTab( nTab, aOldName, sal_False ); in Undo()
379 if (pRefUndoDoc->IsLinked(nTab)) in Undo()
381 pDoc->SetLink( nTab, pRefUndoDoc->GetLinkMode(nTab), pRefUndoDoc->GetLinkDoc(nTab), in Undo()
382 pRefUndoDoc->GetLinkFlt(nTab), pRefUndoDoc->GetLinkOpt(nTab), in Undo()
383 … pRefUndoDoc->GetLinkTab(nTab), pRefUndoDoc->GetLinkRefreshDelay(nTab) ); in Undo()
387 if ( pRefUndoDoc->IsScenario(nTab) ) in Undo()
389 pDoc->SetScenario( nTab, sal_True ); in Undo()
393 pRefUndoDoc->GetScenarioData( nTab, aComment, aColor, nScenFlags ); in Undo()
394 pDoc->SetScenarioData( nTab, aComment, aColor, nScenFlags ); in Undo()
395 sal_Bool bActive = pRefUndoDoc->IsActiveScenario( nTab ); in Undo()
396 pDoc->SetActiveScenario( nTab, bActive ); in Undo()
398 pDoc->SetVisible( nTab, pRefUndoDoc->IsVisible( nTab ) ); in Undo()
399 pDoc->SetTabBgColor( nTab, pRefUndoDoc->GetTabBgColor(nTab) ); in Undo()
400 pDoc->SetSheetEvents( nTab, pRefUndoDoc->GetSheetEvents( nTab ) ); in Undo()
402 if ( pRefUndoDoc->IsTabProtected( nTab ) ) in Undo()
403 pDoc->SetTabProtection(nTab, pRefUndoDoc->GetTabProtection(nTab)); in Undo()
483 nTab ( nT ) in ScUndoRenameTab()
517 DoChange(nTab, sOldName); in Undo()
522 DoChange(nTab, sNewName); in Redo()
931 nTab( nNewTab ), in ScUndoImportTab()
958 if(nTab<nTabCount) in DoChange()
960 pViewShell->SetTabNo(nTab,sal_True); in DoChange()
964 pViewShell->SetTabNo(nTab-1,sal_True); in DoChange()
983 pRedoDoc->InitUndo( pDoc, nTab,nTab+nCount-1, sal_True,sal_True ); in Undo()
988 SCTAB nTabPos=nTab+i; in Undo()
1019 pDoc->DeleteTab( nTab ); in Undo()
1038 SCTAB nTabPos=nTab+i; in Redo()
1046 SCTAB nTabPos=nTab+i; in Redo()
1180 nTab( nNewTab ), in ScUndoShowHideTab()
1192 pDoc->SetVisible( nTab, bShowP ); in DoChange()
1196 pViewShell->SetTabNo(nTab,sal_True); in DoChange()
1302 ScUndoTabProtect::ScUndoTabProtect(ScDocShell* pShell, SCTAB nTab, auto_ptr<ScTableProtection> pPro… in ScUndoTabProtect() argument
1304 mnTab(nTab), in ScUndoTabProtect()
1378 nTab( nNewTab ), in ScUndoPrintRange()
1400 pViewShell->SetTabNo( nTab ); in DoChange()
1402 ScPrintFunc( pDocShell, pDocShell->GetPrinter(), nTab ).UpdatePages(); in DoChange()
1404 pDocShell->PostPaint( ScRange(0,0,nTab,MAXCOL,MAXROW,nTab), PAINT_GRID ); in DoChange()
1448 nTab ( nT ), in ScUndoScenarioFlags()
1473 pDoc->RenameTab( nTab, aOldName ); in Undo()
1474 pDoc->SetScenarioData( nTab, aOldComment, aOldColor, nOldFlags ); in Undo()
1490 pDoc->RenameTab( nTab, aNewName ); in Redo()
1491 pDoc->SetScenarioData( nTab, aNewComment, aNewColor, nNewFlags ); in Redo()
1546 for (sal_uInt16 nTab=0; nTab<nCount; nTab++) in GetObject() local
1548 SdrPage* pPage = pDrawLayer->GetPage(nTab); in GetObject()
1603 nTab( nNewTab ), in ScUndoLayoutRTL()
1617 pDoc->SetLayoutRTL( nTab, bNew ); in DoChange()
1621 pViewShell->SetTabNo(nTab,sal_True); in DoChange()