Kaydet (Commit) 511d1671 authored tarafından David Tardon's avatar David Tardon

add generic presentation filter for libmwaw

Change-Id: I3b96671b7a0f278329a686ba9082b3e4e4989e87
üst 83d30fdb
......@@ -630,6 +630,7 @@ $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_impress_types.xc
impress_OOXML_Presentation_Template \
impress_OOXML_Presentation_AutoPlay \
impress_ClarisWorks \
MWAW_Presentation \
))
$(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_impress_filters.xcu,filter/source/config/fragments/filters,\
......@@ -653,6 +654,7 @@ $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_impress_filter
impress_OOXML_Template \
impress_OOXML_AutoPlay \
ClarisWorks_Impress \
MWAW_Presentation \
))
# 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="MWAW_Presentation" oor:op="replace">
<prop oor:name="Flags">
<value>IMPORT ALIEN 3RDPARTYFILTER PREFERRED</value>
</prop>
<prop oor:name="FilterService">
<value>com.sun.star.comp.Impress.MWAWPresentationImportFilter</value>
</prop>
<prop oor:name="UIName">
<value xml:lang="en-US">Legacy Mac Presentation</value>
</prop>
<prop oor:name="FileFormatVersion">
<value>0</value>
</prop>
<prop oor:name="Type">
<value>MWAW_Presentation</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="MWAW_Presentation" oor:op="replace">
<prop oor:name="DetectService">
<value>com.sun.star.comp.Impress.MWAWImpressImportFilter</value>
</prop>
<prop oor:name="Extensions">
<value>*</value>
</prop>
<prop oor:name="MediaType"/>
<prop oor:name="Preferred">
<value>true</value>
</prop>
<prop oor:name="PreferredFilter">
<value>MWAW_Presentation</value>
</prop>
<prop oor:name="UIName">
<value>Legacy Mac Presentation</value>
</prop>
</node>
......@@ -62,70 +62,8 @@ bool MWAWPresentationImportFilter::doDetectFormat(librevenge::RVNGInputStream &r
case MWAWDocument::MWAW_T_CLARISWORKS:
rTypeName = "impress_ClarisWorks";
break;
case MWAWDocument::MWAW_T_ACTA:
case MWAWDocument::MWAW_T_BEAGLEWORKS:
case MWAWDocument::MWAW_T_ADOBEILLUSTRATOR:
case MWAWDocument::MWAW_T_CLARISRESOLVE:
case MWAWDocument::MWAW_T_DBASE:
case MWAWDocument::MWAW_T_DOCMAKER:
case MWAWDocument::MWAW_T_EDOC:
case MWAWDocument::MWAW_T_FAMILYTREEMAKER:
case MWAWDocument::MWAW_T_FILEMAKER:
case MWAWDocument::MWAW_T_FOXBASE:
case MWAWDocument::MWAW_T_FRAMEMAKER:
case MWAWDocument::MWAW_T_FULLIMPACT:
case MWAWDocument::MWAW_T_FULLPAINT:
case MWAWDocument::MWAW_T_FULLWRITE:
case MWAWDocument::MWAW_T_GREATWORKS:
case MWAWDocument::MWAW_T_INFOGENIE:
case MWAWDocument::MWAW_T_KALEIDAGRAPH:
case MWAWDocument::MWAW_T_HANMACWORDJ:
case MWAWDocument::MWAW_T_HANMACWORDK:
case MWAWDocument::MWAW_T_LIGHTWAYTEXT:
case MWAWDocument::MWAW_T_MACDOC:
case MWAWDocument::MWAW_T_MACDRAFT:
case MWAWDocument::MWAW_T_MACDRAW:
case MWAWDocument::MWAW_T_MACDRAWPRO:
case MWAWDocument::MWAW_T_MACPAINT:
case MWAWDocument::MWAW_T_MACWRITE:
case MWAWDocument::MWAW_T_MACWRITEPRO:
case MWAWDocument::MWAW_T_MARINERWRITE:
case MWAWDocument::MWAW_T_MINDWRITE:
case MWAWDocument::MWAW_T_MICROSOFTFILE:
case MWAWDocument::MWAW_T_MICROSOFTMULTIPLAN:
case MWAWDocument::MWAW_T_MICROSOFTWORD:
case MWAWDocument::MWAW_T_MICROSOFTWORKS:
case MWAWDocument::MWAW_T_MORE:
case MWAWDocument::MWAW_T_NISUSWRITER:
case MWAWDocument::MWAW_T_OVERVUE:
case MWAWDocument::MWAW_T_PAGEMAKER:
case MWAWDocument::MWAW_T_PIXELPAINT:
case MWAWDocument::MWAW_T_RAGTIME:
case MWAWDocument::MWAW_T_READYSETGO:
case MWAWDocument::MWAW_T_SUPERPAINT:
case MWAWDocument::MWAW_T_SYMPOSIUM:
case MWAWDocument::MWAW_T_TEACHTEXT:
case MWAWDocument::MWAW_T_TEXEDIT:
case MWAWDocument::MWAW_T_TRAPEZE:
case MWAWDocument::MWAW_T_WINGZ:
case MWAWDocument::MWAW_T_WRITENOW:
case MWAWDocument::MWAW_T_WRITERPLUS:
case MWAWDocument::MWAW_T_XPRESS:
case MWAWDocument::MWAW_T_ZWRITE:
case MWAWDocument::MWAW_T_4DIMENSION:
case MWAWDocument::MWAW_T_RESERVED1:
case MWAWDocument::MWAW_T_RESERVED2:
case MWAWDocument::MWAW_T_RESERVED3:
case MWAWDocument::MWAW_T_RESERVED4:
case MWAWDocument::MWAW_T_RESERVED5:
case MWAWDocument::MWAW_T_RESERVED6:
case MWAWDocument::MWAW_T_RESERVED7:
case MWAWDocument::MWAW_T_RESERVED8:
case MWAWDocument::MWAW_T_RESERVED9:
case MWAWDocument::MWAW_T_UNKNOWN:
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