add config. for formats newly supported by libmwaw
Change-Id: I19cc5b13adf1c0d8cf26abbc9f4254ae89a970fc
This commit is contained in:
parent
b253d44327
commit
0cdd8a4f17
@ -304,14 +304,17 @@ $(call filter_Configuration_add_types,fcfg_langpack,fcfg_writer_types.xcu,filter
|
||||
writer_StarOffice_XML_Writer \
|
||||
writer_WordPerfect_Document \
|
||||
writer_MS_Works_Document \
|
||||
writer_Beagle_Works \
|
||||
writer_ClarisWorks \
|
||||
writer_DocMaker \
|
||||
writer_eDoc_Document \
|
||||
writer_FullWrite_Professional \
|
||||
writer_Great_Works \
|
||||
writer_HanMac_Word_K \
|
||||
writer_LightWayText \
|
||||
writer_Mac_Word \
|
||||
writer_Mac_Works \
|
||||
writer_MacDoc \
|
||||
writer_MacWrite \
|
||||
writer_MacWritePro \
|
||||
writer_Mariner_Write \
|
||||
@ -350,14 +353,17 @@ $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_writer_filters.xcu,fi
|
||||
StarOffice_XML__Writer_ \
|
||||
WordPerfect \
|
||||
MS_Works \
|
||||
Beagle_Works \
|
||||
ClarisWorks \
|
||||
DocMaker \
|
||||
eDoc_Document \
|
||||
FullWrite_Professional \
|
||||
Great_Works \
|
||||
HanMac_Word_K \
|
||||
LightWayText \
|
||||
Mac_Word \
|
||||
Mac_Works \
|
||||
MacDoc \
|
||||
MacWrite \
|
||||
MacWritePro \
|
||||
Mariner_Write \
|
||||
|
29
filter/source/config/fragments/filters/Beagle_Works.xcu
Normal file
29
filter/source/config/fragments/filters/Beagle_Works.xcu
Normal file
@ -0,0 +1,29 @@
|
||||
<!--
|
||||
* 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="Beagle Works" oor:op="replace">
|
||||
<prop oor:name="Flags">
|
||||
<value>IMPORT ALIEN USESOPTIONS 3RDPARTYFILTER PREFERRED</value>
|
||||
</prop>
|
||||
<prop oor:name="FilterService">
|
||||
<value>com.sun.star.comp.Writer.MWAWImportFilter</value>
|
||||
</prop>
|
||||
<prop oor:name="UIName">
|
||||
<value xml:lang="x-default">Beagle Works Document</value>
|
||||
</prop>
|
||||
<prop oor:name="FileFormatVersion">
|
||||
<value>0</value>
|
||||
</prop>
|
||||
<prop oor:name="Type">
|
||||
<value>writer_Beagle_Works</value>
|
||||
</prop>
|
||||
<prop oor:name="DocumentService">
|
||||
<value>com.sun.star.text.TextDocument</value>
|
||||
</prop>
|
||||
</node>
|
29
filter/source/config/fragments/filters/Great_Works.xcu
Normal file
29
filter/source/config/fragments/filters/Great_Works.xcu
Normal file
@ -0,0 +1,29 @@
|
||||
<!--
|
||||
* 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="Great Works" oor:op="replace">
|
||||
<prop oor:name="Flags">
|
||||
<value>IMPORT ALIEN USESOPTIONS 3RDPARTYFILTER PREFERRED</value>
|
||||
</prop>
|
||||
<prop oor:name="FilterService">
|
||||
<value>com.sun.star.comp.Writer.MWAWImportFilter</value>
|
||||
</prop>
|
||||
<prop oor:name="UIName">
|
||||
<value xml:lang="x-default">Great Works Document</value>
|
||||
</prop>
|
||||
<prop oor:name="FileFormatVersion">
|
||||
<value>0</value>
|
||||
</prop>
|
||||
<prop oor:name="Type">
|
||||
<value>writer_Great_Works</value>
|
||||
</prop>
|
||||
<prop oor:name="DocumentService">
|
||||
<value>com.sun.star.text.TextDocument</value>
|
||||
</prop>
|
||||
</node>
|
29
filter/source/config/fragments/filters/MacDoc.xcu
Normal file
29
filter/source/config/fragments/filters/MacDoc.xcu
Normal file
@ -0,0 +1,29 @@
|
||||
<!--
|
||||
* 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="MacDoc" oor:op="replace">
|
||||
<prop oor:name="Flags">
|
||||
<value>IMPORT ALIEN USESOPTIONS 3RDPARTYFILTER PREFERRED</value>
|
||||
</prop>
|
||||
<prop oor:name="FilterService">
|
||||
<value>com.sun.star.comp.Writer.MWAWImportFilter</value>
|
||||
</prop>
|
||||
<prop oor:name="UIName">
|
||||
<value xml:lang="x-default">MacDoc Document</value>
|
||||
</prop>
|
||||
<prop oor:name="FileFormatVersion">
|
||||
<value>0</value>
|
||||
</prop>
|
||||
<prop oor:name="Type">
|
||||
<value>writer_MacDoc</value>
|
||||
</prop>
|
||||
<prop oor:name="DocumentService">
|
||||
<value>com.sun.star.text.TextDocument</value>
|
||||
</prop>
|
||||
</node>
|
29
filter/source/config/fragments/types/writer_Beagle_Works.xcu
Normal file
29
filter/source/config/fragments/types/writer_Beagle_Works.xcu
Normal file
@ -0,0 +1,29 @@
|
||||
<!--
|
||||
* 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="writer_Beagle_Works" oor:op="replace">
|
||||
<prop oor:name="DetectService">
|
||||
<value>com.sun.star.comp.Writer.MWAWImportFilter</value>
|
||||
</prop>
|
||||
<prop oor:name="Extensions">
|
||||
<value>hqx zip</value>
|
||||
</prop>
|
||||
<prop oor:name="MediaType">
|
||||
<value></value>
|
||||
</prop>
|
||||
<prop oor:name="Preferred">
|
||||
<value>true</value>
|
||||
</prop>
|
||||
<prop oor:name="PreferredFilter">
|
||||
<value>Beagle Works</value>
|
||||
</prop>
|
||||
<prop oor:name="UIName">
|
||||
<value>Beagle Works</value>
|
||||
</prop>
|
||||
</node>
|
29
filter/source/config/fragments/types/writer_Great_Works.xcu
Normal file
29
filter/source/config/fragments/types/writer_Great_Works.xcu
Normal file
@ -0,0 +1,29 @@
|
||||
<!--
|
||||
* 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="writer_Great_Works" oor:op="replace">
|
||||
<prop oor:name="DetectService">
|
||||
<value>com.sun.star.comp.Writer.MWAWImportFilter</value>
|
||||
</prop>
|
||||
<prop oor:name="Extensions">
|
||||
<value>hqx zip</value>
|
||||
</prop>
|
||||
<prop oor:name="MediaType">
|
||||
<value></value>
|
||||
</prop>
|
||||
<prop oor:name="Preferred">
|
||||
<value>true</value>
|
||||
</prop>
|
||||
<prop oor:name="PreferredFilter">
|
||||
<value>Great Works</value>
|
||||
</prop>
|
||||
<prop oor:name="UIName">
|
||||
<value>Great Works</value>
|
||||
</prop>
|
||||
</node>
|
29
filter/source/config/fragments/types/writer_MacDoc.xcu
Normal file
29
filter/source/config/fragments/types/writer_MacDoc.xcu
Normal file
@ -0,0 +1,29 @@
|
||||
<!--
|
||||
* 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="writer_MacDoc" oor:op="replace">
|
||||
<prop oor:name="DetectService">
|
||||
<value>com.sun.star.comp.Writer.MWAWImportFilter</value>
|
||||
</prop>
|
||||
<prop oor:name="Extensions">
|
||||
<value>hqx zip</value>
|
||||
</prop>
|
||||
<prop oor:name="MediaType">
|
||||
<value></value>
|
||||
</prop>
|
||||
<prop oor:name="Preferred">
|
||||
<value>true</value>
|
||||
</prop>
|
||||
<prop oor:name="PreferredFilter">
|
||||
<value>MacDoc</value>
|
||||
</prop>
|
||||
<prop oor:name="UIName">
|
||||
<value>MacDoc</value>
|
||||
</prop>
|
||||
</node>
|
@ -169,7 +169,7 @@ throw( com::sun::star::uno::RuntimeException )
|
||||
sTypeName = "writer_HanMac_Word_K";
|
||||
break;
|
||||
case MWAWDocument::MWAW_T_HANMACWORDJ:
|
||||
// sTypeName = "writer_HanMac_Word_J";
|
||||
sTypeName = "writer_HanMac_Word_J";
|
||||
break;
|
||||
case MWAWDocument::MWAW_T_LIGHTWAYTEXT:
|
||||
sTypeName = "writer_LightWayText";
|
||||
|
Loading…
x
Reference in New Issue
Block a user