diff options
author | osnola <alonso@loria.fr> | 2014-05-29 10:26:28 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-05-29 17:22:14 +0200 |
commit | 34581eca967c6248bc9b0a02289b14c0df2cea39 (patch) | |
tree | ca08046628a347dfd0da759f78163d9b247b59e2 /filter/source | |
parent | 0222a2b833ccd94e6edd11212c3e461d52a8d2f2 (diff) |
Try to add support for WKS/WDB files...
Change-Id: I0ff1cd35be0e1546a156bc673770a920ad2ca444
(cherry picked from commit e1fa08fe92d7d3f89f5f75cb67f17bb491c42361)
Diffstat (limited to 'filter/source')
-rw-r--r-- | filter/source/config/fragments/filters/MS_Works_Calc.xcu | 30 | ||||
-rw-r--r-- | filter/source/config/fragments/types/calc_MS_Works_Document.xcu | 29 |
2 files changed, 59 insertions, 0 deletions
diff --git a/filter/source/config/fragments/filters/MS_Works_Calc.xcu b/filter/source/config/fragments/filters/MS_Works_Calc.xcu new file mode 100644 index 000000000000..a8222a76e340 --- /dev/null +++ b/filter/source/config/fragments/filters/MS_Works_Calc.xcu @@ -0,0 +1,30 @@ +<!-- + * 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/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . +--> + <node oor:name="MS_Works_Calc" oor:op="replace"> + <prop oor:name="Flags"><value>IMPORT ALIEN USESOPTIONS 3RDPARTYFILTER</value></prop> + <prop oor:name="UIComponent"/> + <prop oor:name="FilterService"><value>com.sun.star.comp.Calc.MSWorksCalcImportFilter</value></prop> + <prop oor:name="UserData"><value></value></prop> + <prop oor:name="UIName"> + <value xml:lang="en-US">Microsoft Works Document</value> + </prop> + <prop oor:name="FileFormatVersion"><value>0</value></prop> + <prop oor:name="Type"><value>calc_MS_Works_Document</value></prop> + <prop oor:name="TemplateName"/> + <prop oor:name="DocumentService"><value>com.sun.star.sheet.SpreadsheetDocument</value></prop> + </node> diff --git a/filter/source/config/fragments/types/calc_MS_Works_Document.xcu b/filter/source/config/fragments/types/calc_MS_Works_Document.xcu new file mode 100644 index 000000000000..d409be857b35 --- /dev/null +++ b/filter/source/config/fragments/types/calc_MS_Works_Document.xcu @@ -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/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . +--> + <node oor:name="calc_MS_Works_Document" oor:op="replace" > + <prop oor:name="DetectService"><value>com.sun.star.comp.Calc.MSWorksCalcImportFilter</value></prop> + <prop oor:name="URLPattern"/> + <prop oor:name="Extensions"><value>wps</value></prop> + <prop oor:name="MediaType"><value>application/vnd.ms-works</value></prop> + <prop oor:name="Preferred"><value>true</value></prop> + <prop oor:name="PreferredFilter"><value>MS_Works_Calc</value></prop> + <prop oor:name="UIName"> + <value>Microsoft Works Document</value> + </prop> + <prop oor:name="ClipboardFormat"/> + </node> |