Lines Matching refs:rDevice
864 Size SmViewShell::GetTextLineSize(OutputDevice& rDevice, const String& rLine) in GetTextLineSize() argument
869 Size aSize(rDevice.GetTextWidth(rLine), rDevice.GetTextHeight()); in GetTextLineSize()
874 long TabPos = rDevice.GetTextWidth('n') * 8; in GetTextLineSize()
886 aSize.Width() += rDevice.GetTextWidth(aText); in GetTextLineSize()
894 Size SmViewShell::GetTextSize(OutputDevice& rDevice, const String& rText, long MaxWidth) in GetTextSize() argument
911 aSize = GetTextLineSize(rDevice, aLine); in GetTextSize()
926 if (GetTextLineSize(rDevice, aText).Width() < MaxWidth) in GetTextSize()
935 aSize = GetTextLineSize(rDevice, aText); in GetTextSize()
956 void SmViewShell::DrawTextLine(OutputDevice& rDevice, const Point& rPosition, const String& rLine) in DrawTextLine() argument
966 long TabPos = rDevice.GetTextWidth('n') * 8; in DrawTextLine()
976 rDevice.DrawText(aPoint, aText); in DrawTextLine()
977 aPoint.X() += rDevice.GetTextWidth(aText); in DrawTextLine()
981 rDevice.DrawText(aPoint, rLine); in DrawTextLine()
985 void SmViewShell::DrawText(OutputDevice& rDevice, const Point& rPosition, const String& rText, sal_… in DrawText() argument
1001 aSize = GetTextLineSize(rDevice, aLine); in DrawText()
1015 if (GetTextLineSize(rDevice, aText).Width() < MaxWidth) in DrawText()
1024 DrawTextLine(rDevice, aPoint, aText); in DrawText()
1031 while (GetTextLineSize(rDevice, aLine).Width() > MaxWidth); in DrawText()
1036 DrawTextLine(rDevice, aPoint, aLine); in DrawText()
1042 DrawTextLine(rDevice, aPoint, aLine); in DrawText()