desktop/source/lib/init.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 541272d3eaa322ccdd1b926add031a39faeccf49
Author: Skyler Grey <[email protected]>
AuthorDate: Tue Oct 1 09:17:49 2024 +0000
Commit: Skyler Grey <[email protected]>
CommitDate: Mon Oct 7 17:44:22 2024 +0200
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 <[email protected]>
Reviewed-by: Caolán McNamara <[email protected]>
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 41891c139031..967264222b95 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -380,6 +380,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[] =