filter/source/config/fragments/types/MS_PowerPoint_2007_XML.xcu | 2 +- filter/source/config/fragments/types/MS_PowerPoint_2007_XML_AutoPlay.xcu | 2 +- filter/source/config/fragments/types/MS_PowerPoint_2007_XML_Template.xcu | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 430a6e19d6b153dffb1a047f498ce4249553fc1f Author: Justin Luth <[email protected]> AuthorDate: Mon Dec 1 15:44:22 2025 -0500 Commit: Justin Luth <[email protected]> CommitDate: Fri Dec 5 22:05:37 2025 +0100 tdf#165180 pptx convert-to: prefer PP 2010–365 Presentation, not 2007 The context here is running a command-line soffice --convert-to pptx myfile.odp which MIGHT (perhaps in Windows) create a 1st edition ECMA 2007 PPTX instead of a modern PowerPoint 2010+ PPTX. Filtercache registers valid conversion types in a seemingly random order but if it's a "Preferred" one - set it to the front of the list. // Of course multiple "Preferred" registrations can occur // (they shouldn't - but they can!) ... For PPTX, both filters said they were the preferred one so it is somewhat ambiguous about which one will win. // first item is guaranteed as "preferred" one! Note that this does not make it the preferred UI choice... Also note that on Linux at least (where I am writing/testing this) it also does not make any difference since the order was {"MS PowerPoint 2007 XML", "Office Open XML Presentation"} and since both got 'inserted' into the front, the last one (the 2010 filter) won. Thus no unit test. Change-Id: I94a391ff9d4f3be4215019260e9190ca1610878d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195024 Tested-by: Jenkins Reviewed-by: Justin Luth <[email protected]> diff --git a/filter/source/config/fragments/types/MS_PowerPoint_2007_XML.xcu b/filter/source/config/fragments/types/MS_PowerPoint_2007_XML.xcu index 75b9f95d46cd..c0db257fbad0 100644 --- a/filter/source/config/fragments/types/MS_PowerPoint_2007_XML.xcu +++ b/filter/source/config/fragments/types/MS_PowerPoint_2007_XML.xcu @@ -20,7 +20,7 @@ <prop oor:name="URLPattern"/> <prop oor:name="Extensions"><value>pptx</value></prop> <prop oor:name="MediaType"><value>application/vnd.openxmlformats-officedocument.presentationml.presentation</value></prop> - <prop oor:name="Preferred"><value>true</value></prop> + <prop oor:name="Preferred"><value>false</value></prop> <prop oor:name="PreferredFilter"><value>Impress MS PowerPoint 2007 XML</value></prop> <prop oor:name="UIName"><value xml:lang="en-US">PowerPoint 2007–365</value></prop> <prop oor:name="ClipboardFormat"/> diff --git a/filter/source/config/fragments/types/MS_PowerPoint_2007_XML_AutoPlay.xcu b/filter/source/config/fragments/types/MS_PowerPoint_2007_XML_AutoPlay.xcu index 7c8dc62e24e6..de2714abdf4a 100644 --- a/filter/source/config/fragments/types/MS_PowerPoint_2007_XML_AutoPlay.xcu +++ b/filter/source/config/fragments/types/MS_PowerPoint_2007_XML_AutoPlay.xcu @@ -20,7 +20,7 @@ <prop oor:name="URLPattern"/> <prop oor:name="Extensions"><value>ppsx</value></prop> <prop oor:name="MediaType"><value>application/vnd.openxmlformats-officedocument.presentationml.slideshow</value></prop> - <prop oor:name="Preferred"><value>true</value></prop> + <prop oor:name="Preferred"><value>false</value></prop> <prop oor:name="PreferredFilter"><value>Impress MS PowerPoint 2007 XML AutoPlay</value></prop> <prop oor:name="UIName"><value xml:lang="en-US">PowerPoint 2007–365</value></prop> <prop oor:name="ClipboardFormat"/> diff --git a/filter/source/config/fragments/types/MS_PowerPoint_2007_XML_Template.xcu b/filter/source/config/fragments/types/MS_PowerPoint_2007_XML_Template.xcu index c64c11276053..4714ebd47971 100644 --- a/filter/source/config/fragments/types/MS_PowerPoint_2007_XML_Template.xcu +++ b/filter/source/config/fragments/types/MS_PowerPoint_2007_XML_Template.xcu @@ -20,7 +20,7 @@ <prop oor:name="URLPattern"/> <prop oor:name="Extensions"><value>potx potm</value></prop> <prop oor:name="MediaType"><value>application/vnd.openxmlformats-officedocument.presentationml.template</value></prop> - <prop oor:name="Preferred"><value>true</value></prop> + <prop oor:name="Preferred"><value>false</value></prop> <prop oor:name="PreferredFilter"><value>Impress MS PowerPoint 2007 XML Template</value></prop> <prop oor:name="UIName"><value xml:lang="en-US">PowerPoint 2007–365 Template</value></prop> <prop oor:name="ClipboardFormat"/>
