diff --git a/filter/Configuration_filter.mk b/filter/Configuration_filter.mk index 2d36991785a6..cbb951f3fe28 100644 --- a/filter/Configuration_filter.mk +++ b/filter/Configuration_filter.mk @@ -601,6 +601,7 @@ $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_impress_types.xc impress_OOXML_Presentation_AutoPlay \ impress_ClarisWorks \ MWAW_Presentation \ + impress_PowerPoint3 \ )) $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_impress_filters.xcu,filter/source/config/fragments/filters,\ @@ -625,6 +626,7 @@ $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_impress_filter impress_OOXML_AutoPlay \ ClarisWorks_Impress \ MWAW_Presentation \ + PowerPoint3 \ )) # fcfg_chart diff --git a/filter/source/config/fragments/filters/PowerPoint3.xcu b/filter/source/config/fragments/filters/PowerPoint3.xcu new file mode 100644 index 000000000000..c3675af819fe --- /dev/null +++ b/filter/source/config/fragments/filters/PowerPoint3.xcu @@ -0,0 +1,28 @@ + + + + + IMPORT ALIEN 3RDPARTYFILTER + + + com.sun.star.comp.Impress.MWAWPresentationImportFilter + + + Microsoft PowerPoint 3 + + + 0 + + + impress_PowerPoint3 + + + com.sun.star.presentation.PresentationDocument + + diff --git a/filter/source/config/fragments/types/impress_PowerPoint3.xcu b/filter/source/config/fragments/types/impress_PowerPoint3.xcu new file mode 100644 index 000000000000..5932b3aeea66 --- /dev/null +++ b/filter/source/config/fragments/types/impress_PowerPoint3.xcu @@ -0,0 +1,22 @@ + + + + + com.sun.star.comp.Impress.MWAWPresentationImportFilter + + + ppt + + + PowerPoint 3 + + + Microsoft PowerPoint 3 + + diff --git a/writerperfect/source/impress/MWAWPresentationImportFilter.cxx b/writerperfect/source/impress/MWAWPresentationImportFilter.cxx index bca5ceb30896..e0e5d9a0c672 100644 --- a/writerperfect/source/impress/MWAWPresentationImportFilter.cxx +++ b/writerperfect/source/impress/MWAWPresentationImportFilter.cxx @@ -58,6 +58,9 @@ bool MWAWPresentationImportFilter::doDetectFormat(librevenge::RVNGInputStream &r case MWAWDocument::MWAW_T_CLARISWORKS: rTypeName = "impress_ClarisWorks"; break; + case MWAWDocument::MWAW_T_RESERVED9: + rTypeName = "impress_PowerPoint3"; + break; default: rTypeName = "MWAW_Presentation"; break;