Lines Matching refs:nMaxWidth
115 const XubString& rStr, long nMaxWidth, in GetEllipsisString() argument
122 sal_uInt16 nIndex = pDev->GetTextBreak( rStr, nMaxWidth ); in GetEllipsisString()
130 (pDev->GetTextWidth( aStr ) > nMaxWidth) ) in GetEllipsisString()
383 long nMaxWidth = GetTextLines( pDev, aMultiLineInfo, in GetTextLines() local
386 *pMaxWidth = nMaxWidth; in GetTextLines()
399 long nMaxWidth; in GetTextRect() local
408 nMaxWidth = 0; in GetTextRect()
420 nMaxWidth = nWidth; in GetTextRect()
425 if ( pLineInfo->GetWidth() > nMaxWidth ) in GetTextRect()
426 nMaxWidth = pLineInfo->GetWidth(); in GetTextRect()
432 nMaxWidth = pDev->GetTextWidth( rStr ); in GetTextRect()
434 if ( (nMaxWidth > nWidth) && (nStyle & TEXT_DRAW_ENDELLIPSIS) ) in GetTextRect()
435 nMaxWidth = nWidth; in GetTextRect()
439 aRect.Left() = aRect.Right()-nMaxWidth+1; in GetTextRect()
442 aRect.Left() += (nWidth-nMaxWidth)/2; in GetTextRect()
443 aRect.Right() = aRect.Left()+nMaxWidth-1; in GetTextRect()
446 aRect.Right() = aRect.Left()+nMaxWidth-1; in GetTextRect()