desktop/source/lib/init.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit a21904b2da909bb6704cc4d4d6fe95815be7f09e
Author:     Justin Luth <[email protected]>
AuthorDate: Mon Dec 1 14:48:19 2025 -0500
Commit:     Justin Luth <[email protected]>
CommitDate: Fri Dec 5 22:06:13 2025 +0100

    LOKit: fix/add known PowerPoint extensions
    
    97 Autoplay should have been capitalized as AutoPlay,
    so even if it should have shown up somewhere,
    (and I don't see it listed under save-as, export, or download)
    it (probably) wouldn't have worked anyway?
    But probably this is just used as icon/recognized-file-type info.
    
    Added recognition for XML AutoPlay too.
    
    potm is a macro-enabled template.
    That seems highly unlikely to be used in LOKit,
    so I added the non-macro template as well.
    
    Change-Id: Id95a4f04b0ff6ca07098105cbed1501c73f6a59d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195026
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <[email protected]>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index c248e25517a1..d65872ae8cbb 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -369,10 +369,12 @@ constexpr ExtensionMap aImpressExtensionMap[] =
     { "otp",   u"impress8_template"_ustr },
     { "pdf",   u"impress_pdf_Export"_ustr },
     { "potm",  u"Impress MS PowerPoint 2007 XML Template"_ustr },
+    { "potx",  u"Impress MS PowerPoint 2007 XML Template"_ustr },
     { "pot",   u"MS PowerPoint 97 Vorlage"_ustr },
     { "pptm",  u"Impress MS PowerPoint 2007 XML VBA"_ustr },
+    { "ppts",  u"Impress MS PowerPoint 2007 XML AutoPlay"_ustr },
     { "pptx",  u"Impress MS PowerPoint 2007 XML"_ustr },
-    { "pps",   u"MS PowerPoint 97 Autoplay"_ustr },
+    { "pps",   u"MS PowerPoint 97 AutoPlay"_ustr },
     { "ppt",   u"MS PowerPoint 97"_ustr },
     { "svg",   u"impress_svg_Export"_ustr },
     { "xhtml", u"XHTML Impress File"_ustr },

Reply via email to