Kaydet (Commit) 707c81bd authored tarafından David Tardon's avatar David Tardon

add separate MS PowerPoint 3 filter (libmwaw)

Change-Id: I9f07e6d363387fc47f187f6635f489f8f8237f77
üst 5c6dde9e
......@@ -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
......
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<node oor:name="PowerPoint 3" oor:op="replace">
<prop oor:name="Flags">
<value>IMPORT ALIEN 3RDPARTYFILTER</value>
</prop>
<prop oor:name="FilterService">
<value>com.sun.star.comp.Impress.MWAWPresentationImportFilter</value>
</prop>
<prop oor:name="UIName">
<value xml:lang="en-US">Microsoft PowerPoint 3</value>
</prop>
<prop oor:name="FileFormatVersion">
<value>0</value>
</prop>
<prop oor:name="Type">
<value>impress_PowerPoint3</value>
</prop>
<prop oor:name="DocumentService">
<value>com.sun.star.presentation.PresentationDocument</value>
</prop>
</node>
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<node oor:name="impress_PowerPoint3" oor:op="replace">
<prop oor:name="DetectService">
<value>com.sun.star.comp.Impress.MWAWPresentationImportFilter</value>
</prop>
<prop oor:name="Extensions">
<value>ppt</value>
</prop>
<prop oor:name="PreferredFilter">
<value>PowerPoint 3</value>
</prop>
<prop oor:name="UIName">
<value>Microsoft PowerPoint 3</value>
</prop>
</node>
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment