Lines Matching refs:nTab
66 void VBA_InsertModule( ScDocument& rDoc, SCTAB nTab, String& sModuleName, String& sModuleSource );
104 void ScDocShell::DBAreaDeleted( SCTAB nTab, SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW /* nY2 */ ) in DBAreaDeleted() argument
107 aDocument.RemoveFlagsTab( nX1, nY1, nX2, nY1, nTab, SC_MF_AUTO ); in DBAreaDeleted()
108 PostPaint( nX1, nY1, nTab, nX2, nY1, nTab, PAINT_GRID ); in DBAreaDeleted()
119 const SCTAB nTab ) in lcl_GetDBNearCursor() argument
136 if ( nTab == nAreaTab in lcl_GetDBNearCursor()
165 const SCTAB nTab = rMarked.aStart.Tab(); in GetDBData() local
172 ScDBData* pFoundDBData = aDocument.GetDBAtArea( nTab, nStartCol, nStartRow, nEndCol, nEndRow ); in GetDBData()
175 pFoundDBData = lcl_GetDBNearCursor( aDocument.GetDBCollection(), nCol, nRow, nTab ); in GetDBData()
218 … aDocument.GetDataArea( nTab, nStartCol, nStartRow, nEndCol, nEndRow, sal_False, bOnlyDown ); in GetDBData()
226 pFoundDBData->SetArea( nTab, nOldCol1,nOldRow1, nOldCol2,nEndRow ); in GetDBData()
289 … aDocument.GetDataArea( nTab, nStartCol, nStartRow, nEndCol, nEndRow, sal_False, bOnlyDown ); in GetDBData()
292 …const sal_Bool bHasHeader = aDocument.HasColHeader( nStartCol, nStartRow, nEndCol, nEndRow, nTab ); in GetDBData()
322 pDBData->SetArea( nTab, nStartCol,nStartRow, nEndCol,nEndRow ); in GetDBData()
373 aNewName, nTab, nStartCol, nStartRow, nEndCol, nEndRow, sal_True, bHasHeader ); in GetDBData()
444 sal_Bool ScDocShell::AdjustRowHeight( SCROW nStartRow, SCROW nEndRow, SCTAB nTab ) in AdjustRowHeight() argument
448 sal_Bool bChange = aDocument.SetOptimalHeight( nStartRow,nEndRow, nTab, 0, aProv.GetDevice(), in AdjustRowHeight()
451 PostPaint( 0,nStartRow,nTab, MAXCOL,MAXROW,nTab, PAINT_GRID|PAINT_LEFT ); in AdjustRowHeight()
477 SCTAB nTab; in UpdatePendingRowHeights() local
478 for (nTab=0; nTab<=nUpdateTab; ++nTab) in UpdatePendingRowHeights()
479 if ( aDocument.IsPendingRowHeights( nTab ) ) in UpdatePendingRowHeights()
480 aUpdateSheets.SelectTable( nTab, sal_True ); in UpdatePendingRowHeights()
485 for (nTab=0; nTab<=nUpdateTab; ++nTab) in UpdatePendingRowHeights()
486 if ( aUpdateSheets.GetTableSelect( nTab ) ) in UpdatePendingRowHeights()
488 aDocument.UpdatePageBreaks( nTab ); in UpdatePendingRowHeights()
489 aDocument.SetPendingRowHeights( nTab, sal_False ); in UpdatePendingRowHeights()
538 …ScDBData* pData = pDoc->GetDBAtArea( pArea->nTab, pArea->nColStart, pArea->nRowStart, pArea->nColE… in lcl_GetAreaName()
548 pDoc->GetName( pArea->nTab, aName ); in lcl_GetAreaName()
570 if (pArea->nTab == rParam.nTab && pArea->nRowEnd >= rParam.nRow) in DoConsolidate()
588 ScDBData* pDestData = aDocument.GetDBAtCursor( rParam.nCol, rParam.nRow, rParam.nTab, sal_True ); in DoConsolidate()
598 aData.AddFields( &aDocument, pArea->nTab, pArea->nColStart, pArea->nRowStart, in DoConsolidate()
605 aData.AddData( &aDocument, pArea->nTab, pArea->nColStart, pArea->nRowStart, in DoConsolidate()
615 SCTAB nDestTab = rParam.nTab; in DoConsolidate()
616 ScArea aDestArea( rParam.nTab, rParam.nCol, rParam.nRow, in DoConsolidate()
657 pUndoDoc->InitUndo( &aDocument, aDestArea.nTab, aDestArea.nTab ); in DoConsolidate()
659 aDocument.CopyToDocument( aDestArea.nColStart, aDestArea.nRowStart, aDestArea.nTab, in DoConsolidate()
660 aDestArea.nColEnd, aDestArea.nRowEnd, aDestArea.nTab, in DoConsolidate()
676 pDestData->SetArea( rParam.nTab, rParam.nCol, rParam.nRow, in DoConsolidate()
681 aData.OutputToDocument( &aDocument, rParam.nCol, rParam.nRow, rParam.nTab ); in DoConsolidate()
706 PostPaint( nPaintStartCol, nPaintStartRow, rParam.nTab, in DoConsolidate()
707 nPaintEndCol, nPaintEndRow, rParam.nTab, nPaintFlags ); in DoConsolidate()
711 void ScDocShell::UseScenario( SCTAB nTab, const String& rName, sal_Bool bRecord ) in UseScenario() argument
713 if (!aDocument.IsScenario(nTab)) in UseScenario()
717 SCTAB nEndTab = nTab; in UseScenario()
731 if ( aDocument.TestCopyScenario( nSrcTab, nTab ) ) // Zellschutz testen in UseScenario()
735 aDocument.MarkScenario( nSrcTab, nTab, aScenMark ); in UseScenario()
746 pUndoDoc->InitUndo( &aDocument, nTab,nEndTab ); // auch alle Szenarien in UseScenario()
748 aDocument.CopyToDocument( nStartCol,nStartRow,nTab, in UseScenario()
749 nEndCol,nEndRow,nTab, IDF_ALL,sal_True, pUndoDoc, &aScenMark ); in UseScenario()
751 for (SCTAB i=nTab+1; i<=nEndTab; i++) in UseScenario()
769 ScArea( nTab,nStartCol,nStartRow,nEndCol,nEndRow ), in UseScenario()
773 aDocument.CopyScenario( nSrcTab, nTab ); in UseScenario()
779 PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, PAINT_GRID ); in UseScenario()
802 void ScDocShell::ModifyScenario( SCTAB nTab, const String& rName, const String& rComment, in ModifyScenario() argument
807 aDocument.GetName( nTab, aOldName ); in ModifyScenario()
811 aDocument.GetScenarioData( nTab, aOldComment, aOldColor, nOldFlags ); in ModifyScenario()
813 new ScUndoScenarioFlags( this, nTab, in ModifyScenario()
819 aDocument.RenameTab( nTab, rName ); in ModifyScenario()
820 aDocument.SetScenarioData( nTab, rComment, rColor, nFlags ); in ModifyScenario()
832 SCTAB ScDocShell::MakeScenario( SCTAB nTab, const String& rName, const String& rComment, in MakeScenario() argument
839 SCTAB nNewTab = nTab + 1; in MakeScenario()
853 if (aDocument.CopyTab( nTab, nNewTab, pCopyMark )) in MakeScenario()
858 new ScUndoMakeScenario( this, nTab, nNewTab, in MakeScenario()
884 aDocument.CopyScenario( nNewTab, nTab, sal_True ); // sal_True - nicht aus Szenario kopieren in MakeScenario()
887 PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, PAINT_GRID ); // Rahmen painten in MakeScenario()
896 return nTab; in MakeScenario()