Lines Matching refs:nLines

907     sal_uInt16  nLines;  in ImplCalcFloatSizes()  local
920 nTempLines = nLines = nCalcLines; in ImplCalcFloatSizes()
921 while ( nLines ) in ImplCalcFloatSizes()
928 nLines--; in ImplCalcFloatSizes()
929 if ( nLines ) in ImplCalcFloatSizes()
936 while ( (nCalcSize < upperBoundWidth) && (nLines < nTempLines) && (nTempLines != 1) ); in ImplCalcFloatSizes()
937 if ( nTempLines < nLines ) in ImplCalcFloatSizes()
938 nLines = nTempLines; in ImplCalcFloatSizes()
1039 long nLines = nToolSize/nLineHeight; in ImplCalcLines() local
1040 if( nLines < 1 ) in ImplCalcLines()
1041 nLines = 1; in ImplCalcLines()
1043 return static_cast<sal_uInt16>(nLines); in ImplCalcLines()
2154 sal_uInt16 nLines = 1; in ImplCalcBreaks() local
2212 nLines++; in ImplCalcBreaks()
2283 return nLines; in ImplCalcBreaks()
2336 sal_uInt16 nLines = ImplCalcBreaks( aSz.Width()-nBorderX, &maxX, mbHorz ); in ImplGetOptimalFloatingSize() local
2341 aSz.Height() = nBorderY + nLineHeight * nLines; in ImplGetOptimalFloatingSize()
2344 aSz.Height() += (nLines-1)*TB_LINESPACING; in ImplGetOptimalFloatingSize()
2350 aSize2 = ImplCalcFloatSize( this, nLines ); in ImplGetOptimalFloatingSize()
5383 sal_uInt16 nLines = 0; in ImplCountLineBreaks() local
5389 nLines++; in ImplCountLineBreaks()
5392 return nLines; in ImplCountLineBreaks()
5398 sal_uInt16 nLines = ImplCountLineBreaks( this ); in CalcPopupWindowSizePixel() local
5400 if( nLines ) in CalcPopupWindowSizePixel()
5401 nLines++; // add the first line in CalcPopupWindowSizePixel()
5405 nLines = (sal_uInt16) ceil( sqrt( (double) GetItemCount() ) ); in CalcPopupWindowSizePixel()
5412 Size aSize = CalcFloatingWindowSizePixel( nLines ); in CalcPopupWindowSizePixel()
5420 sal_uInt16 nLines = ImplCountLineBreaks( this ); in CalcFloatingWindowSizePixel() local
5421 nLines++; // add the first line in CalcFloatingWindowSizePixel()
5422 return CalcFloatingWindowSizePixel( nLines ); in CalcFloatingWindowSizePixel()