Lines Matching refs:nRowCount
287 int nRowCount = nHeight / aItemSize.Height(); in GetPreferredWidth() local
288 if (nRowCount <= 0) in GetPreferredWidth()
289 nRowCount = 1; in GetPreferredWidth()
290 int nColumnCount = (GetItemCount() + nRowCount-1) / nRowCount; in GetPreferredWidth()
317 int nRowCount = (GetItemCount() + nColumnCount-1) / nColumnCount; in GetHeightForWidth() local
318 nPreferredHeight = nRowCount * aItemSize.Height(); in GetHeightForWidth()
374 int nRowCount = CalculateRowCount (aItemSize, nColumnCount); in Resize() local
377 SetLineCount ((sal_uInt16)nRowCount); in Resize()
450 int nRowCount = 0; in CalculateRowCount() local
454 nRowCount = (GetItemCount() + nColumnCount - 1) / nColumnCount; in CalculateRowCount()
456 if (nRowCount < 1) in CalculateRowCount()
457 nRowCount = 1; in CalculateRowCount()
460 return nRowCount; in CalculateRowCount()