Lines Matching refs:rDevice
859 Size SmViewShell::GetTextLineSize(OutputDevice& rDevice, const String& rLine) in GetTextLineSize() argument
864 Size aSize(rDevice.GetTextWidth(rLine), rDevice.GetTextHeight()); in GetTextLineSize()
869 long TabPos = rDevice.GetTextWidth('n') * 8; in GetTextLineSize()
881 aSize.Width() += rDevice.GetTextWidth(aText); in GetTextLineSize()
889 Size SmViewShell::GetTextSize(OutputDevice& rDevice, const String& rText, long MaxWidth) in GetTextSize() argument
906 aSize = GetTextLineSize(rDevice, aLine); in GetTextSize()
921 if (GetTextLineSize(rDevice, aText).Width() < MaxWidth) in GetTextSize()
930 aSize = GetTextLineSize(rDevice, aText); in GetTextSize()
951 void SmViewShell::DrawTextLine(OutputDevice& rDevice, const Point& rPosition, const String& rLine) in DrawTextLine() argument
961 long TabPos = rDevice.GetTextWidth('n') * 8; in DrawTextLine()
971 rDevice.DrawText(aPoint, aText); in DrawTextLine()
972 aPoint.X() += rDevice.GetTextWidth(aText); in DrawTextLine()
976 rDevice.DrawText(aPoint, rLine); in DrawTextLine()
980 void SmViewShell::DrawText(OutputDevice& rDevice, const Point& rPosition, const String& rText, sal_… in DrawText() argument
996 aSize = GetTextLineSize(rDevice, aLine); in DrawText()
1010 if (GetTextLineSize(rDevice, aText).Width() < MaxWidth) in DrawText()
1019 DrawTextLine(rDevice, aPoint, aText); in DrawText()
1026 while (GetTextLineSize(rDevice, aLine).Width() > MaxWidth); in DrawText()
1031 DrawTextLine(rDevice, aPoint, aLine); in DrawText()
1037 DrawTextLine(rDevice, aPoint, aLine); in DrawText()