Lines Matching refs:rDevice

867 Size SmViewShell::GetTextLineSize(OutputDevice& rDevice, const String& rLine)  in GetTextLineSize()  argument
872 Size aSize(rDevice.GetTextWidth(rLine), rDevice.GetTextHeight()); in GetTextLineSize()
877 long TabPos = rDevice.GetTextWidth('n') * 8; in GetTextLineSize()
889 aSize.Width() += rDevice.GetTextWidth(aText); in GetTextLineSize()
897 Size SmViewShell::GetTextSize(OutputDevice& rDevice, const String& rText, long MaxWidth) in GetTextSize() argument
914 aSize = GetTextLineSize(rDevice, aLine); in GetTextSize()
929 if (GetTextLineSize(rDevice, aText).Width() < MaxWidth) in GetTextSize()
938 aSize = GetTextLineSize(rDevice, aText); in GetTextSize()
959 void SmViewShell::DrawTextLine(OutputDevice& rDevice, const Point& rPosition, const String& rLine) in DrawTextLine() argument
969 long TabPos = rDevice.GetTextWidth('n') * 8; in DrawTextLine()
979 rDevice.DrawText(aPoint, aText); in DrawTextLine()
980 aPoint.X() += rDevice.GetTextWidth(aText); in DrawTextLine()
984 rDevice.DrawText(aPoint, rLine); in DrawTextLine()
988 void SmViewShell::DrawText(OutputDevice& rDevice, const Point& rPosition, const String& rText, sal_… in DrawText() argument
1004 aSize = GetTextLineSize(rDevice, aLine); in DrawText()
1018 if (GetTextLineSize(rDevice, aText).Width() < MaxWidth) in DrawText()
1027 DrawTextLine(rDevice, aPoint, aText); in DrawText()
1034 while (GetTextLineSize(rDevice, aLine).Width() > MaxWidth); in DrawText()
1039 DrawTextLine(rDevice, aPoint, aLine); in DrawText()
1045 DrawTextLine(rDevice, aPoint, aLine); in DrawText()