summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2014-02-27 13:46:24 +0000
committerArmin Le Grand <alg@apache.org>2014-02-27 13:46:24 +0000
commit9956ed1303545cd61901e33b110698c4e5e224c4 (patch)
treefc8acdf0d587c952e19ce428c7aa5fa30d338ee3 /oox
parent44cca168c8a086cb779e1981c14bfccc318f5339 (diff)
i15508 Added support for BMP file type
Notes
Notes: merged as: af63727b9fdd48258f692d1ccf6d15daccc18681
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/drawingml.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 18395f83152b..7b58de09ecf3 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -426,6 +426,14 @@ OUString DrawingML::WriteImage( const Graphic& rGraphic )
sMediaType = US( "image/gif" );
sExtension = ".gif";
break;
+
+ // #15508# added BMP type for better exports
+ // export not yet active, so adding for reference (not checked)
+ case GFX_LINK_TYPE_NATIVE_BMP:
+ sMediaType = US( "image/bmp" );
+ sExtension = ".bmp";
+ break;
+
case GFX_LINK_TYPE_NATIVE_JPG:
sMediaType = US( "image/jpeg" );
sExtension = ".jpeg";