Kaydet (Commit) 70201d62 authored tarafından Carlos Luque's avatar Carlos Luque Kaydeden (comit) Andras Timar

tdf#92571: add mime types for several image file formats

The new mime types were added the followings:
   - eps -> image/x-eps
   - wmf -> image/x-wmf
   - bmp -> image/bmp
   - pct -> image/x-pct
These new mime types are written in the attribute "media-type"
of each image in the file "manifest.xml"

Change-Id: I16edb625e331d3f917c6e8929df004191e317acc
Reviewed-on: https://gerrit.libreoffice.org/17123Reviewed-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
(cherry picked from commit 4d84153e)

svx: this was supposed to be "image/x-eps"

Change-Id: Ieb9d7f23a0ef1e4546c488a678dbfde085156216
(cherry picked from commit 5351f621)
Signed-off-by: 's avatarAdolfo Jayme Barrientos <fitojb@ubuntu.com>
üst b40ba3f8
...@@ -471,7 +471,11 @@ OUString SvXMLGraphicHelper::ImplGetGraphicMimeType( const OUString& rFileName ) ...@@ -471,7 +471,11 @@ OUString SvXMLGraphicHelper::ImplGetGraphicMimeType( const OUString& rFileName )
{ "png", "image/png" }, { "png", "image/png" },
{ "jpg", "image/jpeg" }, { "jpg", "image/jpeg" },
{ "tif", "image/tiff" }, { "tif", "image/tiff" },
{ "svg", "image/svg+xml" } { "svg", "image/svg+xml" },
{ "wmf", "image/x-wmf" },
{ "eps", "image/x-eps" },
{ "bmp", "image/bmp" },
{ "pct", "image/x-pict" }
}; };
OUString aMimeType; OUString aMimeType;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment