Lines Matching refs:nStyle

116 							sal_uInt16 nStyle = TEXT_DRAW_ENDELLIPSIS )  in GetEllipsisString()  argument
120 if ( nStyle & TEXT_DRAW_ENDELLIPSIS ) in GetEllipsisString()
138 if ( !aStr.Len() && (nStyle & TEXT_DRAW_CLIP) ) in GetEllipsisString()
231 sal_uInt16 nStyle = TEXT_DRAW_WORDBREAK ) in GetTextLines() argument
266 (((c == ' ') || (c == '-')) && (nStyle & TEXT_DRAW_WORDBREAK)) ) in GetTextLines()
275 ((nLineWidth >= nWidth) && (nStyle & TEXT_DRAW_WORDBREAK)) ) in GetTextLines()
279 if ( (nLineWidth >= nWidth) && (nStyle & TEXT_DRAW_WORDBREAK) ) in GetTextLines()
379 sal_uInt16 nStyle = TEXT_DRAW_WORDBREAK, in GetTextLines() argument
384 rRect.GetWidth(), rStr, nStyle ); in GetTextLines()
394 sal_uInt16 nStyle = TEXT_DRAW_WORDBREAK ) in GetTextRect() argument
402 if ( nStyle & TEXT_DRAW_MULTILINE ) in GetTextRect()
409 GetTextLines( pDev, aMultiLineInfo, nWidth, rStr, nStyle ); in GetTextRect()
417 if ( !(nStyle & TEXT_DRAW_ENDELLIPSIS) ) in GetTextRect()
434 if ( (nMaxWidth > nWidth) && (nStyle & TEXT_DRAW_ENDELLIPSIS) ) in GetTextRect()
438 if ( nStyle & TEXT_DRAW_RIGHT ) in GetTextRect()
440 else if ( nStyle & TEXT_DRAW_CENTER ) in GetTextRect()
448 if ( nStyle & TEXT_DRAW_BOTTOM ) in GetTextRect()
450 else if ( nStyle & TEXT_DRAW_VCENTER ) in GetTextRect()
464 const XubString& rStr, sal_uInt16 nStyle = 0 ) in DrawText() argument
474 if ( ((nWidth <= 0) || (nHeight <= 0)) && (nStyle & TEXT_DRAW_CLIP) ) in DrawText()
478 if ( nStyle & TEXT_DRAW_MULTILINE ) in DrawText()
490 nMaxTextWidth = GetTextLines( pDev, aMultiLineInfo, nWidth, rStr, nStyle ); in DrawText()
495 if ( nStyle & TEXT_DRAW_ENDELLIPSIS ) in DrawText()
503 aLastLine = GetEllipsisString( pDev, aLastLine, nWidth, nStyle ); in DrawText()
504 nStyle &= ~(TEXT_DRAW_VCENTER | TEXT_DRAW_BOTTOM); in DrawText()
505 nStyle |= TEXT_DRAW_TOP; in DrawText()
511 nStyle &= ~TEXT_DRAW_CLIP; in DrawText()
515 if ( nStyle & TEXT_DRAW_CLIP ) in DrawText()
531 if ( nStyle & TEXT_DRAW_BOTTOM ) in DrawText()
533 else if ( nStyle & TEXT_DRAW_VCENTER ) in DrawText()
546 if ( nStyle & TEXT_DRAW_RIGHT ) in DrawText()
548 else if ( nStyle & TEXT_DRAW_CENTER ) in DrawText()
561 if ( nStyle & TEXT_DRAW_CLIP ) in DrawText()
577 if ( nStyle & TEXT_DRAW_ENDELLIPSIS ) in DrawText()
579 aStr = GetEllipsisString( pDev, rStr, nWidth, nStyle ); in DrawText()
580 nStyle &= ~(TEXT_DRAW_CENTER | TEXT_DRAW_RIGHT); in DrawText()
581 nStyle |= TEXT_DRAW_LEFT; in DrawText()
588 nStyle &= ~TEXT_DRAW_CLIP; in DrawText()
592 if ( nStyle & TEXT_DRAW_RIGHT ) in DrawText()
594 else if ( nStyle & TEXT_DRAW_CENTER ) in DrawText()
603 if ( nStyle & TEXT_DRAW_BOTTOM ) in DrawText()
605 else if ( nStyle & TEXT_DRAW_VCENTER ) in DrawText()
608 if ( nStyle & TEXT_DRAW_CLIP ) in DrawText()