Lines Matching refs:nNewTab
837 SCTAB nNewTab = nTab + 1; in MakeScenario() local
838 while (aDocument.IsScenario(nNewTab)) in MakeScenario()
839 ++nNewTab; in MakeScenario()
851 if (aDocument.CopyTab( nTab, nNewTab, pCopyMark )) in MakeScenario()
856 new ScUndoMakeScenario( this, nTab, nNewTab, in MakeScenario()
860 aDocument.RenameTab( nNewTab, rName, sal_False ); // ohne Formel-Update in MakeScenario()
861 aDocument.SetScenario( nNewTab, sal_True ); in MakeScenario()
862 aDocument.SetScenarioData( nNewTab, rComment, rColor, nFlags ); in MakeScenario()
865 aDestMark.SelectOneTable( nNewTab ); in MakeScenario()
871 aDocument.ApplyPatternAreaTab( 0,0, MAXCOL,MAXROW, nNewTab, aProtPattern ); in MakeScenario()
879 aDocument.SetVisible( nNewTab, sal_False ); in MakeScenario()
882 aDocument.CopyScenario( nNewTab, nTab, sal_True ); // sal_True - nicht aus Szenario kopieren in MakeScenario()
891 return nNewTab; in MakeScenario()