Lines Matching refs:nTab

116 	SCTAB nTab = aViewData.GetTabNo();  in ClickCursor()  local
117 while (pDoc->IsHorOverlapped( nPosX, nPosY, nTab )) //! ViewData !!! in ClickCursor()
119 while (pDoc->IsVerOverlapped( nPosX, nPosY, nTab )) in ClickCursor()
131 InitRefMode( nPosX, nPosY, nTab, SC_REFTYPE_REF ); in ClickCursor()
834 SCTAB nTab = aViewData.GetTabNo(); in AlignToCursor() local
835 while ( nNewDeltaX < MAXCOL && !pDoc->GetColWidth( nNewDeltaX, nTab ) ) in AlignToCursor()
843 SCTAB nTab = aViewData.GetTabNo(); in AlignToCursor() local
844 while ( nNewDeltaY < MAXROW && !pDoc->GetRowHeight( nNewDeltaY, nTab ) ) in AlignToCursor()
960 SCTAB nTab = aViewData.GetTabNo(); in MoveCursorRel() local
963 ScTableProtection* pProtect = pDoc->GetTabProtection(nTab); in MoveCursorRel()
1001 … bSkipCell = pDoc->ColHidden(nCurX, nTab, nLastCol) || pDoc->IsHorOverlapped( nCurX, nCurY, nTab ); in MoveCursorRel()
1003 … bSkipCell = pDoc->HasAttrib(nCurX, nCurY, nTab, nCurX, nCurY, nTab, HASATTR_PROTECTED); in MoveCursorRel()
1005 … bSkipCell = !pDoc->HasAttrib(nCurX, nCurY, nTab, nCurX, nCurY, nTab, HASATTR_PROTECTED); in MoveCursorRel()
1029 if (pDoc->IsVerOverlapped( nCurX, nCurY, nTab )) in MoveCursorRel()
1032 while (pDoc->IsVerOverlapped( nCurX, nCurY, nTab )) in MoveCursorRel()
1043 … bSkipCell = pDoc->RowHidden(nCurY, nTab, nLastRow) || pDoc->IsVerOverlapped( nCurX, nCurY, nTab ); in MoveCursorRel()
1045 … bSkipCell = pDoc->HasAttrib(nCurX, nCurY, nTab, nCurX, nCurY, nTab, HASATTR_PROTECTED); in MoveCursorRel()
1047 … bSkipCell = !pDoc->HasAttrib(nCurX, nCurY, nTab, nCurX, nCurY, nTab, HASATTR_PROTECTED); in MoveCursorRel()
1071 if (pDoc->IsHorOverlapped( nCurX, nCurY, nTab )) in MoveCursorRel()
1074 while (pDoc->IsHorOverlapped( nCurX, nCurY, nTab )) in MoveCursorRel()
1119 SCTAB nTab = aViewData.GetTabNo(); in MoveCursorArea() local
1126 pDoc->FindAreaPos( nNewX, nNewY, nTab, 1, 0 ); in MoveCursorArea()
1129 pDoc->FindAreaPos( nNewX, nNewY, nTab, -1, 0 ); in MoveCursorArea()
1132 pDoc->FindAreaPos( nNewX, nNewY, nTab, 0, 1 ); in MoveCursorArea()
1135 pDoc->FindAreaPos( nNewX, nNewY, nTab, 0, -1 ); in MoveCursorArea()
1151 SCTAB nTab = aViewData.GetTabNo(); in MoveCursorEnd() local
1162 pDoc->GetPrintArea( nTab, nUsedX, nUsedY ); // Ende holen in MoveCursorEnd()
1181 SCTAB nTab = aViewData.GetTabNo(); in MoveCursorScreen() local
1213 while (pDoc->IsHorOverlapped( nNewX, nNewY, nTab )) in MoveCursorScreen()
1215 while (pDoc->IsVerOverlapped( nNewX, nNewY, nTab )) in MoveCursorScreen()
1256 SCTAB nTab = aViewData.GetTabNo(); in MoveCursorEnter() local
1259 pDoc->GetNextPos( nNewX,nNewY, nTab, nMoveX,nMoveY, sal_True,sal_False, rMark ); in MoveCursorEnter()
1376 SCTAB nTab = aViewData.GetTabNo(); in FindNextUnprot() local
1379 pDoc->GetNextPos( nNewX,nNewY, nTab, nMove,0, bMarked,sal_True, rMark ); in FindNextUnprot()
1412 SCTAB nTab = aViewData.GetTabNo(); in MarkColumns() local
1414 InitBlockMode( nStartCol,0, nTab ); in MarkColumns()
1415 MarkCursor( nEndCol,MAXROW, nTab ); in MarkColumns()
1439 SCTAB nTab = aViewData.GetTabNo(); in MarkRows() local
1441 InitBlockMode( 0,nStartRow, nTab ); in MarkRows()
1442 MarkCursor( MAXCOL,nEndRow, nTab ); in MarkRows()
1449 SCTAB nTab = aViewData.GetTabNo(); in MarkDataArea() local
1455 pDoc->GetDataArea( nTab, nStartCol, nStartRow, nEndCol, nEndRow, bIncludeCursor, false ); in MarkDataArea()
1459 InitBlockMode( nStartCol, nStartRow, nTab ); in MarkDataArea()
1460 MarkCursor( nEndCol, nEndRow, nTab ); in MarkDataArea()
1479 SCTAB nTab = rRange.aStart.Tab(); in MarkRange() local
1480 SetTabNo( nTab ); in MarkRange()
1494 InitBlockMode( rRange.aStart.Col(), rRange.aStart.Row(), nTab ); in MarkRange()
1495 MarkCursor( rRange.aEnd.Col(), rRange.aEnd.Row(), nTab ); in MarkRange()
1502 while (pDoc->IsHorOverlapped( nPosX, nPosY, nTab )) //! ViewData !!! in MarkRange()
1504 while (pDoc->IsVerOverlapped( nPosX, nPosY, nTab )) in MarkRange()
1551 SCTAB nTab = aViewData.GetTabNo(); in SelectNextTab() local
1554 if (!nTab) return; in SelectNextTab()
1555 --nTab; in SelectNextTab()
1556 while (!pDoc->IsVisible(nTab)) in SelectNextTab()
1558 if (!nTab) return; in SelectNextTab()
1559 --nTab; in SelectNextTab()
1565 ++nTab; in SelectNextTab()
1566 if (nTab >= nCount) return; in SelectNextTab()
1567 while (!pDoc->IsVisible(nTab)) in SelectNextTab()
1569 ++nTab; in SelectNextTab()
1570 if (nTab >= nCount) return; in SelectNextTab()
1574 SetTabNo( nTab, sal_False, bExtendSelection ); in SelectNextTab()
1587 void ScTabView::SetTabNo( SCTAB nTab, sal_Bool bNew, sal_Bool bExtendSelection, bool bSameTabButMov… in SetTabNo() argument
1589 if ( !ValidTab(nTab) ) in SetTabNo()
1595 if ( nTab != aViewData.GetTabNo() || bNew ) in SetTabNo()
1614 pDoc->MakeTable( nTab ); in SetTabNo()
1618 aViewData.GetDocShell()->UpdatePendingRowHeights( nTab ); in SetTabNo()
1621 SCTAB nOldPos = nTab; in SetTabNo()
1622 while (!pDoc->IsVisible(nTab)) // naechste sichtbare suchen in SetTabNo()
1624 sal_Bool bUp = (nTab>=nOldPos); in SetTabNo()
1627 ++nTab; in SetTabNo()
1628 if (nTab>=nTabCount) in SetTabNo()
1630 nTab = nOldPos; in SetTabNo()
1637 if (nTab != 0) in SetTabNo()
1638 --nTab; in SetTabNo()
1657 aViewData.SetRefTabNo( nTab ); in SetTabNo()
1663 aViewData.SetTabNo( nTab ); in SetTabNo()
1678 if (nTab == nSelTab) in SetTabNo()
1697 rMark.SelectTable( nTab, sal_True ); in SetTabNo()
1700 rMark.SelectOneTable( nTab ); in SetTabNo()
1732 if ( nTab == aViewData.GetRefTabNo() ) in SetTabNo()
2108 SCTAB nTab = aViewData.GetTabNo(); in PaintRangeFinder() local
2122 if ( aRef.aStart.Tab() >= nTab && aRef.aEnd.Tab() <= nTab ) in PaintRangeFinder()
2136 while ( nCol1 > 0 && pDoc->ColHidden(nCol1, nTab, nLastCol) ) in PaintRangeFinder()
2141 while ( nCol2 < MAXCOL && pDoc->ColHidden(nCol2, nTab, nLastCol) ) in PaintRangeFinder()
2146 nTmp = pDoc->LastVisibleRow(0, nRow1, nTab); in PaintRangeFinder()
2154 nTmp = pDoc->FirstVisibleRow(nRow2, MAXROW, nTab); in PaintRangeFinder()
2188 SCTAB nTab = aViewData.GetTabNo(); in AddHighlightRange() local
2189 if ( nTab >= rRange.aStart.Tab() && nTab <= rRange.aEnd.Tab() ) in AddHighlightRange()
2201 SCTAB nTab = aViewData.GetTabNo(); in ClearHighlightRanges() local
2209 if ( nTab >= aRange.aStart.Tab() && nTab <= aRange.aEnd.Tab() ) in ClearHighlightRanges()
2433 SCTAB nTab = aViewData.GetTabNo(); in InvertBlockMark() local
2439 pDocSh->PostPaint( nStartX,nStartY,nTab, nEndX,nEndY,nTab, PAINT_GRID ); in InvertBlockMark()
2444 sal_Bool bMerge = pDoc->HasAttrib( nStartX, nStartY, nTab, nEndX, nEndY, nTab, in InvertBlockMark()
2465 if ( pDoc->IsLayoutRTL( nTab ) ) in InvertBlockMark()
2506 SCTAB nTab = aViewData.GetTabNo(); in PaintExtras() local
2507 if (!pDoc->HasTable(nTab)) // Tabelle geloescht ? in PaintExtras()