writerperfect/source/filter/OdgGenerator.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 3daa764ee4ef8dc81d82507a204e1ac6be2a93c8
Author: Fridrich Å trba <[email protected]>
Date:   Fri Mar 9 13:18:12 2012 +0100

    Use information about position and offsets of the bitmap fill

diff --git a/writerperfect/source/filter/OdgGenerator.cxx 
b/writerperfect/source/filter/OdgGenerator.cxx
index 8115f05..dc257a3 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");
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to