Lines Matching refs:nNewTab
839 SCTAB nNewTab = nTab + 1; in MakeScenario() local
840 while (aDocument.IsScenario(nNewTab)) in MakeScenario()
841 ++nNewTab; in MakeScenario()
853 if (aDocument.CopyTab( nTab, nNewTab, pCopyMark )) in MakeScenario()
858 new ScUndoMakeScenario( this, nTab, nNewTab, in MakeScenario()
862 aDocument.RenameTab( nNewTab, rName, sal_False ); // ohne Formel-Update in MakeScenario()
863 aDocument.SetScenario( nNewTab, sal_True ); in MakeScenario()
864 aDocument.SetScenarioData( nNewTab, rComment, rColor, nFlags ); in MakeScenario()
867 aDestMark.SelectOneTable( nNewTab ); in MakeScenario()
873 aDocument.ApplyPatternAreaTab( 0,0, MAXCOL,MAXROW, nNewTab, aProtPattern ); in MakeScenario()
881 aDocument.SetVisible( nNewTab, sal_False ); in MakeScenario()
884 aDocument.CopyScenario( nNewTab, nTab, sal_True ); // sal_True - nicht aus Szenario kopieren in MakeScenario()
893 return nNewTab; in MakeScenario()