Lines Matching refs:nMaxWidth
4039 long nMaxWidth = nStrikeoutWidth * 3 / 4; in ImplDrawStrikeoutChar() local
4040 if ( nMaxWidth < 2 ) in ImplDrawStrikeoutChar()
4041 nMaxWidth = 2; in ImplDrawStrikeoutChar()
4042 nMaxWidth += nWidth + 1; in ImplDrawStrikeoutChar()
4044 int nStrikeStrLen = (nMaxWidth - 1) / nStrikeoutWidth; in ImplDrawStrikeoutChar()
6710 long nMaxWidth; in GetTextRect() local
6724 nMaxWidth = 0; in GetTextRect()
6745 nMaxWidth = nWidth; in GetTextRect()
6750 sal_Bool bMaxWidth = nMaxWidth == 0; in GetTextRect()
6755 if ( bMaxWidth && (pLineInfo->GetWidth() > nMaxWidth) ) in GetTextRect()
6756 nMaxWidth = pLineInfo->GetWidth(); in GetTextRect()
6761 else if ( !nMaxWidth ) in GetTextRect()
6766 if ( pLineInfo->GetWidth() > nMaxWidth ) in GetTextRect()
6767 nMaxWidth = pLineInfo->GetWidth(); in GetTextRect()
6774 …nMaxWidth = _pTextLayout ? _pTextLayout->GetTextWidth( aStr, 0, aStr.Len() ) : GetTextWidth( aSt… in GetTextRect()
6779 pInfo->mnMaxWidth = nMaxWidth; in GetTextRect()
6782 if ( (nMaxWidth > nWidth) && (nStyle & TEXT_DRAW_ELLIPSIS) ) in GetTextRect()
6786 nMaxWidth = nWidth; in GetTextRect()
6791 aRect.Left() = aRect.Right()-nMaxWidth+1; in GetTextRect()
6794 aRect.Left() += (nWidth-nMaxWidth)/2; in GetTextRect()
6795 aRect.Right() = aRect.Left()+nMaxWidth; in GetTextRect()
6798 aRect.Right() = aRect.Left()+nMaxWidth; in GetTextRect()
6829 String OutputDevice::GetEllipsisString( const String& rOrigStr, long nMaxWidth, in GetEllipsisString() argument
6834 return ImplGetEllipsisString( *this, rOrigStr, nMaxWidth, nStyle, aTextLayout ); in GetEllipsisString()
6839 …mplGetEllipsisString( const OutputDevice& rTargetDevice, const XubString& rOrigStr, long nMaxWidth, in ImplGetEllipsisString() argument
6845 xub_StrLen nIndex = _rLayout.GetTextBreak( aStr, nMaxWidth, 0, aStr.Len() ); in ImplGetEllipsisString()
6854 …while( nEraseChars < aStr.Len() && _rLayout.GetTextWidth( aTmpStr, 0, aTmpStr.Len() ) > nMaxWidth ) in ImplGetEllipsisString()
6869 while ( aStr.Len() && (_rLayout.GetTextWidth( aStr, 0, aStr.Len() ) > nMaxWidth) ) in ImplGetEllipsisString()
6905 if ( _rLayout.GetTextWidth( aTempLastStr1, 0, aTempLastStr1.Len() ) > nMaxWidth ) in ImplGetEllipsisString()
6906 …aStr = OutputDevice::ImplGetEllipsisString( rTargetDevice, aStr, nMaxWidth, nStyle | TEXT_DRAW_END… in ImplGetEllipsisString()
6921 …aStr = OutputDevice::ImplGetEllipsisString( rTargetDevice, aStr, nMaxWidth, nStyle | TEXT_DRAW_END… in ImplGetEllipsisString()
6930 if ( _rLayout.GetTextWidth( aTempStr, 0, aTempStr.Len() ) > nMaxWidth ) in ImplGetEllipsisString()
6931 …aStr = OutputDevice::ImplGetEllipsisString( rTargetDevice, aStr, nMaxWidth, nStyle | TEXT_DRAW_END… in ImplGetEllipsisString()
6955 … if ( _rLayout.GetTextWidth( aTempStr, 0, aTempStr.Len() ) > nMaxWidth ) in ImplGetEllipsisString()