summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorSkyler Grey <skyler.grey@collabora.com>2024-10-01 09:17:49 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-11-04 09:39:18 +0100
commiteeb72ef257742e9d67927e976779468a78f1d402 (patch)
tree88ee439148f5e35b6f9067a52f81d7e8bc8dc45a /desktop/source
parent88fe9c4903f65593785b3895e43e4e3ee17ba2f3 (diff)
feat(lok): Add extra impress export formats
Previously we had the ability to export to various formats, but these weren't exposed in a way that LOK could request them. We want to increase the options available for export, so we need to make these available. Change-Id: I1c05aeec8de32929481059bcfd02cac05a46788d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174602 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> (cherry picked from commit 541272d3eaa322ccdd1b926add031a39faeccf49) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175981 Tested-by: Jenkins
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/lib/init.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 1e667eeb76b0..7f804585813e 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -365,6 +365,10 @@ constexpr ExtensionMap aImpressExtensionMap[] =
{ "svg", u"impress_svg_Export"_ustr },
{ "xhtml", u"XHTML Impress File"_ustr },
{ "png", u"impress_png_Export"_ustr },
+ { "bmp", u"impress_bmp_Export"_ustr },
+ { "gif", u"impress_gif_Export"_ustr },
+ { "tif", u"impress_tif_Export"_ustr },
+ { "tiff", u"impress_tif_Export"_ustr }, // tif and tiff are the same format: see https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types#tiff_tagged_image_file_format
};
constexpr ExtensionMap aDrawExtensionMap[] =