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

New commits:
commit fb3e1d9fb9d62160137961b6e0eb69d3d8df6972
Author:     Justin Luth <[email protected]>
AuthorDate: Mon Dec 1 14:48:19 2025 -0500
Commit:     Miklos Vajna <[email protected]>
CommitDate: Mon Dec 8 14:46:58 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]>
    (cherry picked from commit a21904b2da909bb6704cc4d4d6fe95815be7f09e)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195119
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Miklos Vajna <[email protected]>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index fdf7477db984..cea09faeb448 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -370,10 +370,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