Lines Matching refs:nColumns
212 sal_uInt16 nColumns; member
218 nColumns(1), in SwAddressPreview_Impl()
289 sal_uInt16 nSelectRow = nSelect / pImpl->nColumns; in SelectAddress()
325 void SwAddressPreview::SetLayout(sal_uInt16 nRows, sal_uInt16 nColumns) in SetLayout() argument
328 pImpl->nColumns = nColumns; in SetLayout()
343 if(pImpl->nColumns) in UpdateScrollBar()
346 …t16 nResultingRows = (sal_uInt16)(pImpl->aAdresses.size() + pImpl->nColumns - 1) / pImpl->nColumns; in UpdateScrollBar()
376 Size aPartSize( aSize.Width()/pImpl->nColumns, aSize.Height()/pImpl->nRows ); in Paint()
380 sal_uInt16 nAddress = nStartRow * pImpl->nColumns; in Paint()
384 for(sal_uInt16 nCol = 0; nCol < pImpl->nColumns; ++nCol) in Paint()
391 if((pImpl->nColumns * pImpl->nRows) == 1) in Paint()
407 if(rMEvt.IsLeft() && ( pImpl->nRows || pImpl->nColumns)) in MouseButtonDown()
412 Size aPartSize( aSize.Width()/pImpl->nColumns, aSize.Height()/pImpl->nRows ); in MouseButtonDown()
419 sal_uInt32 nSelect = nRow * pImpl->nColumns + nCol; in MouseButtonDown()
436 if(pImpl->nRows || pImpl->nColumns) in KeyInput()
438 sal_uInt32 nSelectedRow = (pImpl->nSelectedAddress + 1)/ pImpl->nColumns; in KeyInput()
447 if(pImpl->aAdresses.size() > sal_uInt32(pImpl->nSelectedAddress + pImpl->nColumns)) in KeyInput()
455 if(nSelectedColumn < sal_uInt32(pImpl->nColumns - 1) && in KeyInput()
460 sal_uInt32 nSelect = nSelectedRow * pImpl->nColumns + nSelectedColumn; in KeyInput()