summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/textlayoutdevice.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@Sun.COM>2009-11-23 12:30:29 +0100
committerArmin Le Grand <Armin.Le.Grand@Sun.COM>2009-11-23 12:30:29 +0100
commit3137d89c8a7632b89f55fdd638bca027593225b3 (patch)
treeaade7832f18a27b18764084958fcdaf1e23a5337 /drawinglayer/source/primitive2d/textlayoutdevice.cxx
parent60164337599bbd71cdbb45a311b38e65ccfbc56f (diff)
aw078: #i106541# MetaTextRectAction implementation added, corrected/changed FontHandling when no FontSize is given
Diffstat (limited to 'drawinglayer/source/primitive2d/textlayoutdevice.cxx')
-rw-r--r--drawinglayer/source/primitive2d/textlayoutdevice.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/drawinglayer/source/primitive2d/textlayoutdevice.cxx b/drawinglayer/source/primitive2d/textlayoutdevice.cxx
index f24398a1a6ac..2950427d6b57 100644
--- a/drawinglayer/source/primitive2d/textlayoutdevice.cxx
+++ b/drawinglayer/source/primitive2d/textlayoutdevice.cxx
@@ -309,6 +309,16 @@ namespace drawinglayer
const ::FontMetric& rMetric = mrDevice.GetFontMetric();
return rMetric.GetDescent();
}
+
+ void TextLayouterDevice::addTextRectActions(
+ const Rectangle& rRectangle,
+ const String& rText,
+ sal_uInt16 nStyle,
+ GDIMetaFile& rGDIMetaFile)
+ {
+ mrDevice.AddTextRectActions(
+ rRectangle, rText, nStyle, rGDIMetaFile);
+ }
} // end of namespace primitive2d
} // end of namespace drawinglayer