[Libreoffice-commits] .: oox/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Dec 26 03:09:46 PST 2012


 oox/source/export/drawingml.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit e481740cc894ea21c8e7a49100d56ca572a21a76
Author: Muthu Subramanian <sumuthu at suse.com>
Date:   Wed Dec 26 16:18:51 2012 +0530

    n#793999: PPTX Export - background image fit to slide.

diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 781feba..1a57432 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -561,6 +561,11 @@ void DrawingML::WriteBlipMode( Reference< XPropertySet > rXPropSet )
     case BitmapMode_REPEAT:
         mpFS->singleElementNS( XML_a, XML_tile, FSEND );
         break;
+    case BitmapMode_STRETCH:
+        mpFS->startElementNS( XML_a, XML_stretch, FSEND );
+        mpFS->singleElementNS( XML_a, XML_fillRect, FSEND );
+        mpFS->endElementNS( XML_a, XML_stretch );
+        break;
     default:
         ;
     }


More information about the Libreoffice-commits mailing list