Lines Matching refs:nCols
264 nCols ( 20 ), in SvxColorDockingWindow()
388 nCols = (sal_uInt16) ( aSize.Width() / aItemSize.Width() ); in SetSize()
395 if ( nLines * nCols >= nCount ) in SetSize()
406 nCols = (sal_uInt16) ( ( aSize.Width() - nScrollWidth ) / aItemSize.Width() ); in SetSize()
408 aColorSet.SetColCount( nCols ); in SetSize()
551 nCols = (sal_uInt16) ( (float) rNewSize.Width() / (float) aItemSize.Width() + 0.5 ); in Resizing()
558 if ( nLines * nCols >= nCount ) in Resizing()
569 nCols = (sal_uInt16) ( ( ( (float) rNewSize.Width() - (float) nScrollWidth ) ) in Resizing()
572 if( nCols <= 1 ) in Resizing()
573 nCols = 2; in Resizing()
576 long nMaxLines = nCount / nCols; in Resizing()
577 if( nCount % nCols ) in Resizing()
584 rNewSize.Width() = nCols * aItemSize.Width() + nScrollWidth + 4; in Resizing()