diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-09-27 07:14:52 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-09-27 07:38:47 +0200 |
commit | c6726bdbd2143ae2875f3373b07b23611eb263d7 (patch) | |
tree | 25bc7d912d662a13c83c970c1eca657a5b90ace0 /filter | |
parent | simplify code (diff) | |
download | core-c6726bdbd2143ae2875f3373b07b23611eb263d7.tar.gz core-c6726bdbd2143ae2875f3373b07b23611eb263d7.zip |
make gnumeric xml a real LibreOffice filter format
Change-Id: I502f4610718b5c1914a54346c46d4f998c4d370f
Diffstat (limited to 'filter')
-rw-r--r-- | filter/Configuration_filter.mk | 2 | ||||
-rw-r--r-- | filter/source/config/fragments/filters/calc_Gnumeric.xcu | 29 | ||||
-rw-r--r-- | filter/source/config/fragments/types/calc_Gnumeric.xcu | 17 |
3 files changed, 48 insertions, 0 deletions
diff --git a/filter/Configuration_filter.mk b/filter/Configuration_filter.mk index 4ff9855000eb..1f7280789091 100644 --- a/filter/Configuration_filter.mk +++ b/filter/Configuration_filter.mk @@ -486,6 +486,7 @@ $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_calc_types.xcu,f calc_HTML \ generic_HTML \ generic_Text \ + calc_Gnumeric \ calc_Lotus \ calc_QPro \ calc_MS_Excel_40 \ @@ -545,6 +546,7 @@ $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_calc_filters.x dBase \ calc8 \ calc8_template \ + calc_Gnumeric \ calc_MS_Excel_2007_XML \ calc_MS_Excel_2007_VBA_XML \ calc_MS_Excel_2007_XML_Template \ diff --git a/filter/source/config/fragments/filters/calc_Gnumeric.xcu b/filter/source/config/fragments/filters/calc_Gnumeric.xcu new file mode 100644 index 000000000000..421061516c80 --- /dev/null +++ b/filter/source/config/fragments/filters/calc_Gnumeric.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="Gnumeric Spreadsheet" oor:op="replace"> + <prop oor:name="Flags"><value>IMPORT ALIEN 3RDPARTYFILTER PREFERRED</value></prop> + <prop oor:name="UIComponent"/> + <prop oor:name="FilterService"/> + <prop oor:name="UserData"/> + <prop oor:name="Type"><value>Gnumeric XML</value></prop> + <prop oor:name="TemplateName"/> + <prop oor:name="DocumentService"><value>com.sun.star.sheet.SpreadsheetDocument</value></prop> + <prop oor:name="UIName"> + <value xml:lang="en-US">Gnumeric Spreadsheet</value> + </prop> +</node> diff --git a/filter/source/config/fragments/types/calc_Gnumeric.xcu b/filter/source/config/fragments/types/calc_Gnumeric.xcu new file mode 100644 index 000000000000..4c158cc34cb0 --- /dev/null +++ b/filter/source/config/fragments/types/calc_Gnumeric.xcu @@ -0,0 +1,17 @@ +<!-- + * 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="Gnumeric XML" oor:op="replace" > + <prop oor:name="DetectService"><value>com.sun.star.comp.sc.OrcusFilterDetect</value></prop> + <prop oor:name="URLPattern"/> + <prop oor:name="Extensions"><value>gnumeric gnm</value></prop> + <prop oor:name="MediaType"><value>application/x-gnumeric</value></prop> + <prop oor:name="Preferred"><value>false</value></prop> + <prop oor:name="PreferredFilter"><value>Gnumeric Spreadsheet</value></prop> + <prop oor:name="UIName"><value xml:lang="en-US">Gnumeric Spreadsheet</value></prop> + <prop oor:name="ClipboardFormat"/> +</node> |