diff options
author | Muthu Subramanian <sumuthu@suse.com> | 2012-12-26 16:18:51 +0530 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-01-15 13:01:05 +0000 |
commit | 4a6f6d761263a7dc5eb1091efa252b8dc4ccf538 (patch) | |
tree | a4300e93df03ae4d3ff88a9deccee32efb4c42f0 /oox | |
parent | cda698a22b3a8d3b6ff2c5f9b49f32e50de5e890 (diff) |
n#793999: PPTX Export - background image fit to slide.
Change-Id: I0365c1a2723e5da06c269802c0503d4e45fe7ac1
Signed-off-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/drawingml.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index bc48e602c23c..4eefc90496fd 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -565,6 +565,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: ; } |