From eeb72ef257742e9d67927e976779468a78f1d402 Mon Sep 17 00:00:00 2001 From: Skyler Grey Date: Tue, 1 Oct 2024 09:17:49 +0000 Subject: feat(lok): Add extra impress export formats MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Caolán McNamara (cherry picked from commit 541272d3eaa322ccdd1b926add031a39faeccf49) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175981 Tested-by: Jenkins --- desktop/source/lib/init.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'desktop/source') 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[] = -- cgit