Lines Matching refs:nX
90 short nX = (short)( ((rRect.Left()+rRect.Right())/2) / nDeltaWidth ); in ImplCreate() local
95 if( nX >= nCols ) in ImplCreate()
96 nX = sal::static_int_cast< short >(nCols - 1); in ImplCreate()
98 sal_uInt16 nIns = GetSortListPos( &pColumns[nX], rRect.Top(), sal_True ); in ImplCreate()
99 pColumns[ nX ].Insert( pEntry, nIns ); in ImplCreate()
104 pEntry->nX = nX; in ImplCreate()
258 sal_uInt16 nX = pEntry->nX; in SearchRow() local
259 if( nX >= nLeft && nX <= nRight ) in SearchRow()
301 sal_uInt16 nX = pCtrlEntry->nX; in GoLeftRight() local
303 DBG_ASSERT(nX< nCols,"GoLeftRight:Bad row"); in GoLeftRight()
307 nY, nX, sal::static_int_cast< sal_uInt16 >(nCols-1), nX, sal_True, sal_True ); in GoLeftRight()
309 pResult = SearchRow( nY, nX ,0, nX, sal_False, sal_True ); in GoLeftRight()
313 long nCurCol = nX; in GoLeftRight()
419 sal_uInt16 nX = pCtrlEntry->nX; in GoUpDown() local
421 DBG_ASSERT(nX<nCols,"GoUpDown:Bad row"); in GoUpDown()
426 nX, nY, sal::static_int_cast< sal_uInt16 >(nRows-1), nY, sal_True, sal_True ); in GoUpDown()
428 pResult = SearchCol( nX, nY ,0, nY, sal_False, sal_True ); in GoUpDown()
446 sal_uInt16 nColMin = nX; in GoUpDown()
447 sal_uInt16 nColMax = nX; in GoUpDown()
450 …SvxIconChoiceCtrlEntry* pEntry = SearchRow((sal_uInt16)nCurRow,nColMin,nColMax,nX,sal_True, sal_Fa… in GoUpDown()
606 long nX, nY; in GetMinMapSize() local
610 nX = _pView->nMaxVirtWidth; in GetMinMapSize()
611 if( !nX ) in GetMinMapSize()
612 nX = _pView->pView->GetOutputSizePixel().Width(); in GetMinMapSize()
614 nX -= _pView->nVerSBarWidth; in GetMinMapSize()
626 nX = _pView->aVirtOutputSize.Width(); in GetMinMapSize()
629 if( !nX ) in GetMinMapSize()
630 nX = DEFAULT_MAX_VIRT_WIDTH; in GetMinMapSize()
634 long nDX = nX / _pView->nGridDX; in GetMinMapSize()
659 long nX = rDocPos.X(); in GetGrid() local
661 nX -= LROFFS_WINBORDER; in GetGrid()
663 nX /= _pView->nGridDX; in GetGrid()
666 if( nX >= _nGridCols ) in GetGrid()
668 nX = _nGridCols - 1; in GetGrid()
676 GridId nId = GetGrid( (sal_uInt16)nX, (sal_uInt16)nY ); in GetGrid()