diff options
author | osnola <alonso@loria.fr> | 2016-08-10 12:43:56 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-08-11 08:13:27 +0200 |
commit | 1faae1f37521df7734462443936e1469820fd489 (patch) | |
tree | 8c3ab056cdd2e6a3fbc2642588563e4eeb65b022 /filter | |
parent | 6a2cc612decea57b9c3ab31f2f32aa2126c06cf7 (diff) |
integrate libstaroffice
Change-Id: I85913f1bd1af5d102573040588cca9d8ddeebb5d
Diffstat (limited to 'filter')
7 files changed, 174 insertions, 0 deletions
diff --git a/filter/Configuration_filter.mk b/filter/Configuration_filter.mk index 44c442021eb8..2d36991785a6 100644 --- a/filter/Configuration_filter.mk +++ b/filter/Configuration_filter.mk @@ -352,6 +352,7 @@ $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_writer_types.xcu writer_ApplePages \ MWAW_Text_Document \ Palm_Text_Document \ + StarOffice_Writer \ )) $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_writer_filters.xcu,filter/source/config/fragments/filters,\ @@ -397,6 +398,7 @@ $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_writer_filters ApplePages \ MWAW_Text_Document \ Palm_Text_Document \ + StarOffice_Writer \ )) # fcfg_web @@ -486,6 +488,7 @@ $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_calc_types.xcu,f calc_AppleNumbers \ MWAW_Database \ MWAW_Spreadsheet \ + StarOffice_Spreadsheet \ )) $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_calc_filters.xcu,filter/source/config/fragments/filters,\ @@ -528,6 +531,7 @@ $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_calc_filters.x AppleNumbers \ MWAW_Database \ MWAW_Spreadsheet \ + StarOffice_Spreadsheet \ )) # fcfg_draw @@ -550,6 +554,7 @@ $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_draw_types.xcu,f draw_ZMF_Document \ MWAW_Bitmap \ MWAW_Drawing \ + StarOffice_Drawing \ )) $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_draw_filters.xcu,filter/source/config/fragments/filters,\ @@ -570,6 +575,7 @@ $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_draw_filters.x ZMFDocument \ MWAW_Bitmap \ MWAW_Drawing \ + StarOffice_Drawing \ )) # fcfg_impress diff --git a/filter/source/config/fragments/filters/StarOffice_Drawing.xcu b/filter/source/config/fragments/filters/StarOffice_Drawing.xcu new file mode 100644 index 000000000000..f820fe0965a3 --- /dev/null +++ b/filter/source/config/fragments/filters/StarOffice_Drawing.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/. + * +--> + +<node oor:name="StarOffice_Drawing" oor:op="replace"> + <prop oor:name="Flags"> + <value>IMPORT ALIEN 3RDPARTYFILTER PREFERRED</value> + </prop> + <prop oor:name="FilterService"> + <value>org.libreoffice.comp.Draw.StarOfficeDrawImportFilter</value> + </prop> + <prop oor:name="UIName"> + <value xml:lang="en-US">Legacy StarOffice Drawing</value> + </prop> + <prop oor:name="FileFormatVersion"> + <value>0</value> + </prop> + <prop oor:name="Type"> + <value>StarOffice_Drawing</value> + </prop> + <prop oor:name="DocumentService"> + <value>com.sun.star.drawing.DrawingDocument</value> + </prop> +</node> diff --git a/filter/source/config/fragments/filters/StarOffice_Spreadsheet.xcu b/filter/source/config/fragments/filters/StarOffice_Spreadsheet.xcu new file mode 100644 index 000000000000..d6ac85576aca --- /dev/null +++ b/filter/source/config/fragments/filters/StarOffice_Spreadsheet.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/. + * +--> + +<node oor:name="StarOffice_Spreadsheet" oor:op="replace"> + <prop oor:name="Flags"> + <value>IMPORT ALIEN 3RDPARTYFILTER PREFERRED</value> + </prop> + <prop oor:name="FilterService"> + <value>org.libreoffice.comp.Calc.StarOfficeCalcImportFilter</value> + </prop> + <prop oor:name="UIName"> + <value xml:lang="en-US">Legacy StarOffice Spreadsheet</value> + </prop> + <prop oor:name="FileFormatVersion"> + <value>0</value> + </prop> + <prop oor:name="Type"> + <value>StarOffice_Spreadsheet</value> + </prop> + <prop oor:name="DocumentService"> + <value>com.sun.star.sheet.SpreadsheetDocument</value> + </prop> +</node> diff --git a/filter/source/config/fragments/filters/StarOffice_Writer.xcu b/filter/source/config/fragments/filters/StarOffice_Writer.xcu new file mode 100644 index 000000000000..537a41045fbb --- /dev/null +++ b/filter/source/config/fragments/filters/StarOffice_Writer.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/. + * +--> + +<node oor:name="StarOffice_Writer" oor:op="replace"> + <prop oor:name="Flags"> + <value>IMPORT ALIEN 3RDPARTYFILTER PREFERRED</value> + </prop> + <prop oor:name="FilterService"> + <value>org.libreoffice.comp.Writer.StarOfficeWriterImportFilter</value> + </prop> + <prop oor:name="UIName"> + <value xml:lang="en-US">Legacy StarOffice Writer</value> + </prop> + <prop oor:name="FileFormatVersion"> + <value>0</value> + </prop> + <prop oor:name="Type"> + <value>StarOffice_Writer</value> + </prop> + <prop oor:name="DocumentService"> + <value>com.sun.star.text.TextDocument</value> + </prop> +</node> diff --git a/filter/source/config/fragments/types/StarOffice_Drawing.xcu b/filter/source/config/fragments/types/StarOffice_Drawing.xcu new file mode 100644 index 000000000000..cad6f68c3c90 --- /dev/null +++ b/filter/source/config/fragments/types/StarOffice_Drawing.xcu @@ -0,0 +1,27 @@ +<!-- + * 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="StarOffice_Drawing" oor:op="replace"> + <prop oor:name="DetectService"> + <value>org.libreoffice.comp.Draw.StarOfficeDrawImportFilter</value> + </prop> + <prop oor:name="Extensions"> + <value>sda</value> + </prop> + <prop oor:name="MediaType"/> + <prop oor:name="Preferred"> + <value>true</value> + </prop> + <prop oor:name="PreferredFilter"> + <value>StarOffice_Drawing</value> + </prop> + <prop oor:name="UIName"> + <value>Legacy StarOffice Drawing</value> + </prop> +</node> diff --git a/filter/source/config/fragments/types/StarOffice_Spreadsheet.xcu b/filter/source/config/fragments/types/StarOffice_Spreadsheet.xcu new file mode 100644 index 000000000000..f4f472b945a5 --- /dev/null +++ b/filter/source/config/fragments/types/StarOffice_Spreadsheet.xcu @@ -0,0 +1,27 @@ +<!-- + * 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="StarOffice_Spreadsheet" oor:op="replace"> + <prop oor:name="DetectService"> + <value>org.libreoffice.comp.Calc.StarOfficeCalcImportFilter</value> + </prop> + <prop oor:name="Extensions"> + <value>sdc</value> + </prop> + <prop oor:name="MediaType"/> + <prop oor:name="Preferred"> + <value>true</value> + </prop> + <prop oor:name="PreferredFilter"> + <value>StarOffice_Spreadsheet</value> + </prop> + <prop oor:name="UIName"> + <value>Legacy StarOffice Spreadsheet</value> + </prop> +</node> diff --git a/filter/source/config/fragments/types/StarOffice_Writer.xcu b/filter/source/config/fragments/types/StarOffice_Writer.xcu new file mode 100644 index 000000000000..6f6944efe494 --- /dev/null +++ b/filter/source/config/fragments/types/StarOffice_Writer.xcu @@ -0,0 +1,27 @@ +<!-- + * 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="StarOffice_Writer" oor:op="replace"> + <prop oor:name="DetectService"> + <value>org.libreoffice.comp.Writer.StarOfficeWriterImportFilter</value> + </prop> + <prop oor:name="Extensions"> + <value>sdw</value> + </prop> + <prop oor:name="MediaType"/> + <prop oor:name="Preferred"> + <value>true</value> + </prop> + <prop oor:name="PreferredFilter"> + <value>StarOffice_Writer</value> + </prop> + <prop oor:name="UIName"> + <value>Legacy StarOffice Writer</value> + </prop> +</node> |