diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-03-09 13:18:12 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-03-09 13:20:11 +0100 |
commit | 3daa764ee4ef8dc81d82507a204e1ac6be2a93c8 (patch) | |
tree | 1c40f9fccc4b7345b1da028fd0112158731b4c8d /writerperfect/source | |
parent | 5191ee9800d53c8ebb6f56222eb81a1e4bce9925 (diff) |
Use information about position and offsets of the bitmap fill
Diffstat (limited to 'writerperfect/source')
-rw-r--r-- | writerperfect/source/filter/OdgGenerator.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
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"); |