From 3daa764ee4ef8dc81d82507a204e1ac6be2a93c8 Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Fri, 9 Mar 2012 13:18:12 +0100 Subject: Use information about position and offsets of the bitmap fill --- writerperfect/source/filter/OdgGenerator.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'writerperfect') diff --git a/writerperfect/source/filter/OdgGenerator.cxx b/writerperfect/source/filter/OdgGenerator.cxx index 8115f051d9c8..dc257a3a25e1 100644 --- a/writerperfect/source/filter/OdgGenerator.cxx +++ b/writerperfect/source/filter/OdgGenerator.cxx @@ -1481,6 +1481,12 @@ void OdgGeneratorPrivate::_writeGraphicsStyle() pStyleGraphicsPropertiesElement->addAttribute("draw:fill-image-height", mxStyle["svg:height"]->getStr()); if (mxStyle["style:repeat"]) pStyleGraphicsPropertiesElement->addAttribute("style:repeat", mxStyle["style:repeat"]->getStr()); + if (mxStyle["draw:fill-image-ref-point"]) + pStyleGraphicsPropertiesElement->addAttribute("draw:fill-image-ref-point", mxStyle["draw:fill-image-ref-point"]->getStr()); + if (mxStyle["draw:fill-image-ref-point-x"]) + pStyleGraphicsPropertiesElement->addAttribute("draw:fill-image-ref-point-x", mxStyle["draw:fill-image-ref-point"]->getStr()); + if (mxStyle["draw:fill-image-ref-point-y"]) + pStyleGraphicsPropertiesElement->addAttribute("draw:fill-image-ref-point-y", mxStyle["draw:fill-image-ref-point"]->getStr()); } else pStyleGraphicsPropertiesElement->addAttribute("draw:fill", "none"); -- cgit