Lines Matching refs:nRow

1219 void BrowseBox::RowModified( long nRow, sal_uInt16 nColId )  in RowModified()  argument
1229 aRect = Rectangle( Point( 0, (nRow-nTopRow) * GetDataRowHeight() ), in RowModified()
1234 aRect = GetFieldRectPixel( nRow, nColId, sal_False ); in RowModified()
1300 void BrowseBox::RowInserted( long nRow, long nNumRows, sal_Bool bDoPaint, sal_Bool bKeepSelection ) in RowInserted() argument
1304 if (nRow < 0) in RowInserted()
1305 nRow = 0; in RowInserted()
1306 else if (nRow > nRowCount) // maximal = nRowCount in RowInserted()
1307 nRow = nRowCount; in RowInserted()
1317 RowInserted(nRow + i,1,bDoPaint); in RowInserted()
1323 sal_Bool bLastRow = nRow >= nRowCount; in RowInserted()
1331 if ( bDoPaint && nRow >= nTopRow && in RowInserted()
1332 nRow <= nTopRow + aSz.Height() / GetDataRowHeight() ) in RowInserted()
1334 long nY = (nRow-nTopRow) * GetDataRowHeight(); in RowInserted()
1356 if ( nRow < nTopRow ) in RowInserted()
1361 uRow.pSel->Insert( nRow, nNumRows ); in RowInserted()
1362 else if ( uRow.nSel != BROWSER_ENDOFSELECTION && nRow <= uRow.nSel ) in RowInserted()
1368 else if ( nRow <= nCurRow ) in RowInserted()
1386 nRow, in RowInserted()
1387 nRow + nNumRows, in RowInserted()
1395 for (sal_Int32 i = nRow+1 ; i <= nRowCount ; ++i) in RowInserted()
1416 void BrowseBox::RowRemoved( long nRow, long nNumRows, sal_Bool bDoPaint ) in RowRemoved() argument
1420 if ( nRow < 0 ) in RowRemoved()
1421 nRow = 0; in RowRemoved()
1422 else if ( nRow >= nRowCount ) in RowRemoved()
1423 nRow = nRowCount - 1; in RowRemoved()
1448 uRow.pSel->Remove( nRow ); in RowRemoved()
1449 else if ( nRow < uRow.nSel && uRow.nSel >= nNumRows ) in RowRemoved()
1451 else if ( nRow <= uRow.nSel ) in RowRemoved()
1457 else if ( nRow < nCurRow ) in RowRemoved()
1459 nCurRow -= Min( nCurRow - nRow, nNumRows ); in RowRemoved()
1468 else if( nRow == nCurRow && nCurRow == nRowCount ) in RowRemoved()
1473 if ( nRow >= nTopRow && in RowRemoved()
1474 nRow <= nTopRow + aSz.Height() / GetDataRowHeight() ) in RowRemoved()
1480 if (nRow < nRowCount) in RowRemoved()
1482 long nY = (nRow-nTopRow) * GetDataRowHeight(); in RowRemoved()
1498 Point( 0, (nRow-nTopRow)*GetDataRowHeight() ), in RowRemoved()
1506 else if ( nRow < nTopRow ) in RowRemoved()
1558 nRow, in RowRemoved()
1559 nRow + nNumRows, in RowRemoved()
1567 for (sal_Int32 i = nRow+1 ; i <= (nRow+nNumRows) ; ++i) in RowRemoved()
1589 sal_Bool BrowseBox::GoToRow( long nRow) in GoToRow() argument
1591 return GoToRow(nRow, sal_False, sal_False); in GoToRow()
1596 sal_Bool BrowseBox::GoToRowAndDoNotModifySelection( long nRow ) in GoToRowAndDoNotModifySelection() argument
1598 return GoToRow( nRow, sal_False, sal_True ); in GoToRowAndDoNotModifySelection()
1602 sal_Bool BrowseBox::GoToRow( long nRow, sal_Bool bRowColMove, sal_Bool bKeepSelection ) in GoToRow() argument
1609 if ( nRow == nCurRow && ( bMultiSelection || uRow.nSel == nRow ) ) in GoToRow()
1613 if ( nRow < 0 || nRow >= nRowCount ) in GoToRow()
1617 if ( ( !bRowColMove && !IsCursorMoveAllowed( nRow, nCurColId ) ) ) in GoToRow()
1620 if ( getDataWindow()->bNoScrollBack && nRow < nTopRow ) in GoToRow()
1621 nRow = nTopRow; in GoToRow()
1643 if ( nRow < nTopRow ) in GoToRow()
1644 ScrollRows( nRow - nTopRow ); in GoToRow()
1645 else if ( nRow > nLastRow ) in GoToRow()
1646 ScrollRows( nRow - nLastRow ); in GoToRow()
1655 nCurRow = nCurRow + (nRow - nOldCurRow); in GoToRow()
1666 uRow.nSel = nRow; in GoToRow()
1742 sal_Bool BrowseBox::GoToRowColumnId( long nRow, sal_uInt16 nColId ) in GoToRowColumnId() argument
1747 if ( nRow < 0 || nRow >= nRowCount ) in GoToRowColumnId()
1754 if ( nRow == nCurRow && ( bMultiSelection || uRow.nSel == nRow ) && in GoToRowColumnId()
1759 if (!IsCursorMoveAllowed(nRow, nColId)) in GoToRowColumnId()
1763 sal_Bool bMoved = GoToRow(nRow, sal_True) && GoToColumnId(nColId, sal_True, sal_True); in GoToRowColumnId()
1877 for ( long nRow = Max( nTopRow, uRow.pSel->FirstSelected() ); in SelectAll() local
1878 nRow != BROWSER_ENDOFSELECTION && nRow < nTopRow + nVisibleRows; in SelectAll()
1879 nRow = uRow.pSel->NextSelected() ) in SelectAll()
1881 Point( nOfsX, (nRow-nTopRow)*GetDataRowHeight() ), in SelectAll()
1919 void BrowseBox::SelectRow( long nRow, sal_Bool _bSelect, sal_Bool bExpand ) in SelectRow() argument
1927 GoToRow(nRow, sal_False); in SelectRow()
1948 && uRow.pSel->GetTotalRange().Max() >= nRow in SelectRow()
1949 && uRow.pSel->Select( nRow, _bSelect ) in SelectRow()
1952 && ( uRow.nSel = nRow ) != BROWSER_ENDOFSELECTION ) in SelectRow()
1962 Point( nOfsX, (nRow-nTopRow)*GetDataRowHeight() ), in SelectRow()
2128 bool BrowseBox::IsRowSelected( long nRow ) const in IsRowSelected()
2132 return bMultiSelection ? uRow.pSel->IsSelected(nRow) : nRow == uRow.nSel; in IsRowSelected()
2158 long nRow, // Zeilen-Nr des Feldes (beginnend mit 0) in MakeFieldVisible() argument
2188 sal_Bool bVisible = IsFieldVisible( nRow, nColId, bComplete ); in MakeFieldVisible()
2194 Rectangle aFieldRect = GetFieldRectPixel( nRow, nColId, sal_False ); in MakeFieldVisible()
2211 aFieldRect = GetFieldRectPixel( nRow, nColId, sal_False ); in MakeFieldVisible()
2215 if ( nRow < nTopRow ) in MakeFieldVisible()
2217 ScrollRows( nRow - nTopRow ); in MakeFieldVisible()
2227 if ( nRow > nBottomRow ) in MakeFieldVisible()
2229 ScrollRows( nRow - nBottomRow ); in MakeFieldVisible()
2232 return IsFieldVisible( nRow, nColId, bComplete ); in MakeFieldVisible()
2237 sal_Bool BrowseBox::IsFieldVisible( long nRow, sal_uInt16 nColumnId, in IsFieldVisible() argument
2247 Rectangle aRect( ImplFieldRectPixel( nRow, nColumnId ) ); in IsFieldVisible()
2264 Rectangle BrowseBox::GetFieldRectPixel( long nRow, sal_uInt16 nColumnId, in GetFieldRectPixel() argument
2270 Rectangle aRect( ImplFieldRectPixel( nRow, nColumnId ) ); in GetFieldRectPixel()
2287 Rectangle BrowseBox::GetRowRectPixel( long nRow, sal_Bool bRelToBrowser ) const in GetRowRectPixel() argument
2293 if ( nTopRow > nRow ) in GetRowRectPixel()
2297 Point( 0, GetDataRowHeight() * (nRow-nTopRow) ), in GetRowRectPixel()
2316 Rectangle BrowseBox::ImplFieldRectPixel( long nRow, sal_uInt16 nColumnId ) const in ImplFieldRectPixel() argument
2335 if ( nRow != BROWSER_ENDOFSELECTION ) // #105497# OJ in ImplFieldRectPixel()
2336 nRowY = ( nRow - nTopRow ) * GetDataRowHeight(); in ImplFieldRectPixel()