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()
442 sal_Bool ScDocShell::AdjustRowHeight( SCROW nStartRow, SCROW nEndRow, SCTAB nTab ) in AdjustRowHeight() argument
446 sal_Bool bChange = aDocument.SetOptimalHeight( nStartRow,nEndRow, nTab, 0, aProv.GetDevice(), in AdjustRowHeight()
449 PostPaint( 0,nStartRow,nTab, MAXCOL,MAXROW,nTab, PAINT_GRID|PAINT_LEFT ); in AdjustRowHeight()
475 SCTAB nTab; in UpdatePendingRowHeights() local
476 for (nTab=0; nTab<=nUpdateTab; ++nTab) in UpdatePendingRowHeights()
477 if ( aDocument.IsPendingRowHeights( nTab ) ) in UpdatePendingRowHeights()
478 aUpdateSheets.SelectTable( nTab, sal_True ); in UpdatePendingRowHeights()
483 for (nTab=0; nTab<=nUpdateTab; ++nTab) in UpdatePendingRowHeights()
484 if ( aUpdateSheets.GetTableSelect( nTab ) ) in UpdatePendingRowHeights()
486 aDocument.UpdatePageBreaks( nTab ); in UpdatePendingRowHeights()
487 aDocument.SetPendingRowHeights( nTab, sal_False ); in UpdatePendingRowHeights()
536 …ScDBData* pData = pDoc->GetDBAtArea( pArea->nTab, pArea->nColStart, pArea->nRowStart, pArea->nColE… in lcl_GetAreaName()
546 pDoc->GetName( pArea->nTab, aName ); in lcl_GetAreaName()
568 if (pArea->nTab == rParam.nTab && pArea->nRowEnd >= rParam.nRow) in DoConsolidate()
586 ScDBData* pDestData = aDocument.GetDBAtCursor( rParam.nCol, rParam.nRow, rParam.nTab, sal_True ); in DoConsolidate()
596 aData.AddFields( &aDocument, pArea->nTab, pArea->nColStart, pArea->nRowStart, in DoConsolidate()
603 aData.AddData( &aDocument, pArea->nTab, pArea->nColStart, pArea->nRowStart, in DoConsolidate()
613 SCTAB nDestTab = rParam.nTab; in DoConsolidate()
614 ScArea aDestArea( rParam.nTab, rParam.nCol, rParam.nRow, in DoConsolidate()
655 pUndoDoc->InitUndo( &aDocument, aDestArea.nTab, aDestArea.nTab ); in DoConsolidate()
657 aDocument.CopyToDocument( aDestArea.nColStart, aDestArea.nRowStart, aDestArea.nTab, in DoConsolidate()
658 aDestArea.nColEnd, aDestArea.nRowEnd, aDestArea.nTab, in DoConsolidate()
674 pDestData->SetArea( rParam.nTab, rParam.nCol, rParam.nRow, in DoConsolidate()
679 aData.OutputToDocument( &aDocument, rParam.nCol, rParam.nRow, rParam.nTab ); in DoConsolidate()
704 PostPaint( nPaintStartCol, nPaintStartRow, rParam.nTab, in DoConsolidate()
705 nPaintEndCol, nPaintEndRow, rParam.nTab, nPaintFlags ); in DoConsolidate()
709 void ScDocShell::UseScenario( SCTAB nTab, const String& rName, sal_Bool bRecord ) in UseScenario() argument
711 if (!aDocument.IsScenario(nTab)) in UseScenario()
715 SCTAB nEndTab = nTab; in UseScenario()
729 if ( aDocument.TestCopyScenario( nSrcTab, nTab ) ) // Zellschutz testen in UseScenario()
733 aDocument.MarkScenario( nSrcTab, nTab, aScenMark ); in UseScenario()
744 pUndoDoc->InitUndo( &aDocument, nTab,nEndTab ); // auch alle Szenarien in UseScenario()
746 aDocument.CopyToDocument( nStartCol,nStartRow,nTab, in UseScenario()
747 nEndCol,nEndRow,nTab, IDF_ALL,sal_True, pUndoDoc, &aScenMark ); in UseScenario()
749 for (SCTAB i=nTab+1; i<=nEndTab; i++) in UseScenario()
767 ScArea( nTab,nStartCol,nStartRow,nEndCol,nEndRow ), in UseScenario()
771 aDocument.CopyScenario( nSrcTab, nTab ); in UseScenario()
777 PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, PAINT_GRID ); in UseScenario()
800 void ScDocShell::ModifyScenario( SCTAB nTab, const String& rName, const String& rComment, in ModifyScenario() argument
805 aDocument.GetName( nTab, aOldName ); in ModifyScenario()
809 aDocument.GetScenarioData( nTab, aOldComment, aOldColor, nOldFlags ); in ModifyScenario()
811 new ScUndoScenarioFlags( this, nTab, in ModifyScenario()
817 aDocument.RenameTab( nTab, rName ); in ModifyScenario()
818 aDocument.SetScenarioData( nTab, rComment, rColor, nFlags ); in ModifyScenario()
830 SCTAB ScDocShell::MakeScenario( SCTAB nTab, const String& rName, const String& rComment, in MakeScenario() argument
837 SCTAB nNewTab = nTab + 1; in MakeScenario()
851 if (aDocument.CopyTab( nTab, nNewTab, pCopyMark )) in MakeScenario()
856 new ScUndoMakeScenario( this, nTab, nNewTab, in MakeScenario()
882 aDocument.CopyScenario( nNewTab, nTab, sal_True ); // sal_True - nicht aus Szenario kopieren in MakeScenario()
885 PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, PAINT_GRID ); // Rahmen painten in MakeScenario()
894 return nTab; in MakeScenario()