Lines Matching refs:nY

89 		short nY = (short)( ((rRect.Top()+rRect.Bottom())/2) / nDeltaHeight );  in ImplCreate()  local
93 if( nY >= nRows ) in ImplCreate()
94 nY = sal::static_int_cast< short >(nRows - 1); in ImplCreate()
101 nIns = GetSortListPos( &pRows[nY], rRect.Left(), sal_False ); in ImplCreate()
102 pRows[ nY ].Insert( pEntry, nIns ); in ImplCreate()
105 pEntry->nY = nY; in ImplCreate()
183 sal_uInt16 nY = pEntry->nY; in SearchCol() local
184 if( nY >= nTop && nY <= nBottom ) in SearchCol()
300 sal_uInt16 nY = pCtrlEntry->nY; in GoLeftRight() local
302 DBG_ASSERT(nY< nRows,"GoLeftRight:Bad column"); 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()
327 sal_uInt16 nRowMin = nY; in GoLeftRight()
328 sal_uInt16 nRowMax = nY; in GoLeftRight()
331 …SvxIconChoiceCtrlEntry* pEntry = SearchCol((sal_uInt16)nCurCol,nRowMin,nRowMax,nY,sal_True, sal_Fa… in GoLeftRight()
418 sal_uInt16 nY = pCtrlEntry->nY; in GoUpDown() local
420 DBG_ASSERT(nY<nRows,"GoUpDown:Bad column"); 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()
432 long nCurRow = nY; in GoUpDown()
507 short nY = (short)( ((rRect.Top()+rRect.Bottom())/2) / pView->nGridDY ); in CreateGridAjustData() local
508 sal_uInt16 nIns = GetSortListPos((SvPtrarr*)rLists[nY],rRect.Left(),sal_False); in CreateGridAjustData()
509 ((SvPtrarr*)rLists[ nY ])->Insert( pEntry, nIns ); in CreateGridAjustData()
527 short nY = (short)( ((rRect.Top()+rRect.Bottom())/2) / pView->nGridDY ); in CreateGridAjustData() local
528 if( nY == nRefRow ) in CreateGridAjustData()
606 long nX, nY; in GetMinMapSize() local
616 nY = _pView->aVirtOutputSize.Height(); in GetMinMapSize()
621 nY = _pView->nMaxVirtHeight; in GetMinMapSize()
622 if( !nY ) in GetMinMapSize()
623 nY = _pView->pView->GetOutputSizePixel().Height(); in GetMinMapSize()
625 nY -= _pView->nHorSBarHeight; in GetMinMapSize()
631 if( !nY ) in GetMinMapSize()
632 nY = DEFAULT_MAX_VIRT_HEIGHT; in GetMinMapSize()
635 long nDY = nY / _pView->nGridDY; in GetMinMapSize()
660 long nY = rDocPos.Y(); in GetGrid() local
662 nY -= TBOFFS_WINBORDER; in GetGrid()
664 nY /= _pView->nGridDY; in GetGrid()
671 if( nY >= _nGridRows ) in GetGrid()
673 nY = _nGridRows - 1; in GetGrid()
676 GridId nId = GetGrid( (sal_uInt16)nX, (sal_uInt16)nY ); in GetGrid()