diff options
author | Sean Young <sean@mess.org> | 2016-02-07 13:28:31 +0000 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-02-15 12:15:23 +0000 |
commit | 2f7f818eeada83c0491dbf40253934d177c36621 (patch) | |
tree | 870242b73365e2c535adfccc78322fd302398432 /filter | |
parent | 2abdcfd641883f246fe78f2fbe38499c9382c059 (diff) |
Add Microsoft Word for DOS conversion
Change-Id: I9e20a35dd8e18ba1a9251f4dc3ce903183c250cf
Reviewed-on: https://gerrit.libreoffice.org/22368
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/Configuration_filter.mk | 2 | ||||
-rw-r--r-- | filter/source/config/fragments/filters/DosWord.xcu | 28 | ||||
-rw-r--r-- | filter/source/config/fragments/types/writer_DosWord.xcu | 22 |
3 files changed, 52 insertions, 0 deletions
diff --git a/filter/Configuration_filter.mk b/filter/Configuration_filter.mk index 38c67feab1a4..5dd20f7f12f7 100644 --- a/filter/Configuration_filter.mk +++ b/filter/Configuration_filter.mk @@ -324,6 +324,7 @@ $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_writer_types.xcu writer_WordPerfect_Document \ writer_MS_Works_Document \ writer_MS_Write \ + writer_DosWord \ writer_ClarisWorks \ writer_Mac_Word \ writer_Mac_Works \ @@ -367,6 +368,7 @@ $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_writer_filters WordPerfect \ MS_Works \ MS_Write \ + DosWord \ ClarisWorks \ Mac_Word \ Mac_Works \ diff --git a/filter/source/config/fragments/filters/DosWord.xcu b/filter/source/config/fragments/filters/DosWord.xcu new file mode 100644 index 000000000000..697032c91e4e --- /dev/null +++ b/filter/source/config/fragments/filters/DosWord.xcu @@ -0,0 +1,28 @@ +<!-- + * 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="DosWord" oor:op="replace"> + <prop oor:name="Flags"> + <value>IMPORT ALIEN 3RDPARTYFILTER</value> + </prop> + <prop oor:name="FilterService"> + <value>com.sun.star.comp.Writer.MSWorksImportFilter</value> + </prop> + <prop oor:name="UIName"> + <value xml:lang="en-US">Microsoft Word for DOS</value> + </prop> + <prop oor:name="FileFormatVersion"> + <value>0</value> + </prop> + <prop oor:name="Type"> + <value>writer_DosWord</value> + </prop> + <prop oor:name="DocumentService"> + <value>com.sun.star.text.TextDocument</value> + </prop> +</node> diff --git a/filter/source/config/fragments/types/writer_DosWord.xcu b/filter/source/config/fragments/types/writer_DosWord.xcu new file mode 100644 index 000000000000..37333886a17c --- /dev/null +++ b/filter/source/config/fragments/types/writer_DosWord.xcu @@ -0,0 +1,22 @@ +<!-- + * 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_DosWord" oor:op="replace"> + <prop oor:name="DetectService"> + <value>com.sun.star.comp.Writer.MSWorksImportFilter</value> + </prop> + <prop oor:name="Extensions"> + <value>doc</value> + </prop> + <prop oor:name="PreferredFilter"> + <value>DosWord</value> + </prop> + <prop oor:name="UIName"> + <value>Microsoft Word for DOS</value> + </prop> +</node> |