Lines Matching refs:nWidth

154 				TextLineInfo( long nWidth, sal_uInt16 nIndex, sal_uInt16 nLen )  in TextLineInfo()  argument
156 mnWidth = nWidth; in TextLineInfo()
230 long nWidth, const XubString& rStr, in GetTextLines() argument
236 if ( nWidth <= 0 ) in GetTextLines()
237 nWidth = 1; in GetTextLines()
275 ((nLineWidth >= nWidth) && (nStyle & TEXT_DRAW_WORDBREAK)) ) in GetTextLines()
279 if ( (nLineWidth >= nWidth) && (nStyle & TEXT_DRAW_WORDBREAK) ) in GetTextLines()
322 if ( nLineWidth > nWidth ) in GetTextLines()
333 nPos = pDev->GetTextBreak( rStr, nWidth, nStartPos, nLastLineLen ); in GetTextLines()
346 while ( nLineWidth > nWidth ); in GetTextLines()
398 long nWidth = rRect.GetWidth(); in GetTextRect() local
409 GetTextLines( pDev, aMultiLineInfo, nWidth, rStr, nStyle ); in GetTextRect()
420 nMaxWidth = nWidth; in GetTextRect()
434 if ( (nMaxWidth > nWidth) && (nStyle & TEXT_DRAW_ENDELLIPSIS) ) in GetTextRect()
435 nMaxWidth = nWidth; in GetTextRect()
442 aRect.Left() += (nWidth-nMaxWidth)/2; in GetTextRect()
470 long nWidth = rRect.GetWidth(); in DrawText() local
474 if ( ((nWidth <= 0) || (nHeight <= 0)) && (nStyle & TEXT_DRAW_CLIP) ) in DrawText()
490 nMaxTextWidth = GetTextLines( pDev, aMultiLineInfo, nWidth, rStr, nStyle ); in DrawText()
503 aLastLine = GetEllipsisString( pDev, aLastLine, nWidth, nStyle ); in DrawText()
510 if ( nMaxTextWidth <= nWidth ) in DrawText()
547 aPos.X() += nWidth-pLineInfo->GetWidth(); in DrawText()
549 aPos.X() += (nWidth-pLineInfo->GetWidth())/2; in DrawText()
575 if ( aTextSize.Width() > nWidth ) in DrawText()
579 aStr = GetEllipsisString( pDev, rStr, nWidth, nStyle ); in DrawText()
593 aPos.X() += nWidth-aTextSize.Width(); in DrawText()
595 aPos.X() += (nWidth-aTextSize.Width())/2; in DrawText()
1903 long nWidth = aOutputSize.Width(); in CheckHorScrollBar() local
1910 if( nRight > nWidth ) in CheckHorScrollBar()
2425 long nWidth = 0; in CalcBoundingWidth() local
2430 nWidth = Max( nStringWidth, nBmpWidth ); in CalcBoundingWidth()
2431 nWidth = Max( nWidth, nMaxBmpWidth ); in CalcBoundingWidth()
2435 nWidth = Max( nBmpWidth, nMaxBmpWidth ); in CalcBoundingWidth()
2436 nWidth += NAMEVIEW_OFFS_BMP_STRING; // Abstand Bitmap String in CalcBoundingWidth()
2437 nWidth += nStringWidth; in CalcBoundingWidth()
2441 nWidth = nStringWidth; in CalcBoundingWidth()
2444 return nWidth; in CalcBoundingWidth()
3134 long nWidth = rSize.Width(); in CreateGridMap() local
3135 if( nWidth < pView->nMaxVirtWidth ) in CreateGridMap()
3136 nWidth = pView->nMaxVirtWidth; in CreateGridMap()
3137 nWidth -= 2*LROFFS_WINBORDER; in CreateGridMap()
3138 if( nWidth <= 0 ) in CreateGridMap()
3139 nWidth = 1; in CreateGridMap()
3147 nGridCols = nWidth / nGridDX; in CreateGridMap()
4035 long nWidth = aCenterRect.GetSize().Width(); in AdjustAtGrid() local
4041 nCurRight = aNewPos.X() + nWidth; in AdjustAtGrid()