Lines Matching refs:nCurRow
116 nCurRow = BROWSER_ENDOFSELECTION; in ConstructImpl()
1249 nCurRow = BROWSER_ENDOFSELECTION; in Clear()
1329 long nOldCurRow = nCurRow; in RowInserted()
1366 if ( nCurRow == BROWSER_ENDOFSELECTION ) in RowInserted()
1368 else if ( nRow <= nCurRow ) in RowInserted()
1369 GoToRow( nCurRow += nNumRows, sal_False, bKeepSelection ); in RowInserted()
1406 if ( nCurRow != nOldCurRow ) in RowInserted()
1410 DBG_ASSERT(nCurRow >= 0,"BrowseBox: nCurRow < 0"); in RowInserted()
1411 DBG_ASSERT(nCurRow < nRowCount,"nCurRow >= nRowCount"); in RowInserted()
1442 long nOldCurRow = nCurRow; in RowRemoved()
1456 nCurRow = BROWSER_ENDOFSELECTION; in RowRemoved()
1457 else if ( nRow < nCurRow ) in RowRemoved()
1459 nCurRow -= Min( nCurRow - nRow, nNumRows ); in RowRemoved()
1465 if (nCurRow == nRowCount) in RowRemoved()
1466 --nCurRow; in RowRemoved()
1468 else if( nRow == nCurRow && nCurRow == nRowCount ) in RowRemoved()
1469 nCurRow = nRowCount-1; in RowRemoved()
1579 if ( nOldCurRow != nCurRow ) in RowRemoved()
1583 DBG_ASSERT(nCurRow >= 0 || nRowCount == 0,"BrowseBox: nCurRow < 0 && nRowCount != 0"); in RowRemoved()
1584 DBG_ASSERT(nCurRow < nRowCount,"nCurRow >= nRowCount"); in RowRemoved()
1606 long nOldCurRow = nCurRow; in GoToRow()
1609 if ( nRow == nCurRow && ( bMultiSelection || uRow.nSel == nRow ) ) in GoToRow()
1654 if (nCurRow != BROWSER_ENDOFSELECTION ) in GoToRow()
1655 nCurRow = nCurRow + (nRow - nOldCurRow); in GoToRow()
1658 if (nCurRow == BROWSER_ENDOFSELECTION && nRowCount > 0) in GoToRow()
1659 nCurRow = 0; in GoToRow()
1660 else if ( nCurRow >= nRowCount ) in GoToRow()
1661 nCurRow = nRowCount - 1; in GoToRow()
1662 aSelRange = Range( nCurRow, nCurRow ); in GoToRow()
1675 if ( !bRowColMove && nOldCurRow != nCurRow ) in GoToRow()
1704 if (!bRowColMove && !IsCursorMoveAllowed( nCurRow, nColId ) ) in GoToColumnId()
1707 if ( nColId != nCurColId || (bMakeVisible && !IsFieldVisible(nCurRow, nColId, sal_True))) in GoToColumnId()
1754 if ( nRow == nCurRow && ( bMultiSelection || uRow.nSel == nRow ) && in GoToRowColumnId()
1755 nColId == nCurColId && IsFieldVisible(nCurRow, nColId, sal_True)) in GoToRowColumnId()
2036 Rectangle aFieldRectPix( GetFieldRectPixel( nCurRow, nCurColId, sal_False ) ); in SelectColumnPos()
2075 nCurRow >= 0 ? 1 : 0; in GetSelectColumnCount()
2372 return GetFieldRectPixel( nCurRow, nColumnId ); in GetFieldRect()
2651 if (p->nCurRow < -1) return "BrowseBox: nCurRow < -1"; in BrowseBoxCheckInvariants()
2652 if (p->nCurRow > p->nRowCount) return "BrowseBox: nCurRow > nRowCount"; in BrowseBoxCheckInvariants()