From 5d0901a75e7ef96dc722b5277450cc18ad163f7b Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Wed, 19 Jul 2017 08:42:36 +0200 Subject: sd pptm: Add a separate PPTM filter. Similarly to commit 697173f6fdfae581022cfdb5ec5171c5a3be58f0, we have to preserve the correct content-type which is not the same for PPTX and PPTM. This commit also changes sdfilt.component to use the constructor feature. Change-Id: I4b334540ec07a53d308e6b9dd6403294842bddf8 Reviewed-on: https://gerrit.libreoffice.org/40195 Reviewed-by: Miklos Vajna Tested-by: Miklos Vajna Reviewed-on: https://gerrit.libreoffice.org/40265 Tested-by: Jenkins Reviewed-by: Jan Holesovsky --- .../filters/impress_MS_PowerPoint_2007_XML.xcu | 2 +- .../filters/impress_MS_PowerPoint_2007_XML_VBA.xcu | 30 ++++++++++++++++++++++ .../fragments/types/MS_PowerPoint_2007_XML.xcu | 2 +- .../fragments/types/MS_PowerPoint_2007_XML_VBA.xcu | 28 ++++++++++++++++++++ 4 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 filter/source/config/fragments/filters/impress_MS_PowerPoint_2007_XML_VBA.xcu create mode 100644 filter/source/config/fragments/types/MS_PowerPoint_2007_XML_VBA.xcu (limited to 'filter/source') diff --git a/filter/source/config/fragments/filters/impress_MS_PowerPoint_2007_XML.xcu b/filter/source/config/fragments/filters/impress_MS_PowerPoint_2007_XML.xcu index 8814d1e4413d..08d17d688a3b 100644 --- a/filter/source/config/fragments/filters/impress_MS_PowerPoint_2007_XML.xcu +++ b/filter/source/config/fragments/filters/impress_MS_PowerPoint_2007_XML.xcu @@ -27,4 +27,4 @@ Microsoft PowerPoint 2007-2013 XML - + diff --git a/filter/source/config/fragments/filters/impress_MS_PowerPoint_2007_XML_VBA.xcu b/filter/source/config/fragments/filters/impress_MS_PowerPoint_2007_XML_VBA.xcu new file mode 100644 index 000000000000..3f52eea5eea8 --- /dev/null +++ b/filter/source/config/fragments/filters/impress_MS_PowerPoint_2007_XML_VBA.xcu @@ -0,0 +1,30 @@ + + + IMPORT EXPORT ALIEN 3RDPARTYFILTER PREFERRED ENCRYPTION PASSWORDTOMODIFY SUPPORTSSIGNING + + com.sun.star.comp.oox.ppt.PowerPointImport + macro-enabled + + MS PowerPoint 2007 XML VBA + + com.sun.star.presentation.PresentationDocument + + Microsoft PowerPoint 2007-2013 XML VBA + + 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 b709d6b8804d..5c3fdc2e4c31 100644 --- a/filter/source/config/fragments/types/MS_PowerPoint_2007_XML.xcu +++ b/filter/source/config/fragments/types/MS_PowerPoint_2007_XML.xcu @@ -18,7 +18,7 @@ com.sun.star.comp.oox.FormatDetector - pptx pptm + pptx application/vnd.openxmlformats-officedocument.presentationml.presentation true Impress MS PowerPoint 2007 XML diff --git a/filter/source/config/fragments/types/MS_PowerPoint_2007_XML_VBA.xcu b/filter/source/config/fragments/types/MS_PowerPoint_2007_XML_VBA.xcu new file mode 100644 index 000000000000..4e4519f29794 --- /dev/null +++ b/filter/source/config/fragments/types/MS_PowerPoint_2007_XML_VBA.xcu @@ -0,0 +1,28 @@ + + + + com.sun.star.comp.oox.FormatDetector + + pptm + application/vnd.ms-powerpoint.presentation.macroEnabled.main+xml + true + Impress MS PowerPoint 2007 XML VBA + Microsoft PowerPoint 2007-2013 XML VBA + + -- cgit