diff options
author | osnola <alonso@loria.fr> | 2017-04-02 09:53:44 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2017-04-02 13:42:20 +0200 |
commit | 8988c925ce07395478fbbb10d25fd6c0a10fead5 (patch) | |
tree | 4770a03c18e2db296681297b4ef77322aa3dd522 /filter/source | |
parent | b0067c89e6b2a4e29465d9da9a731ae30a66dce6 (diff) |
libstaroffice import filter improvements
+ add support for presentation file (i.e. the file created will StarImpress
are now open as presentation).
+ modify the OLE parser to be similar to the librevenge OLE parser,
ie. the librevenge parser ignores the first character of a filename if
this is a control character...
Change-Id: I913a70cba29839d43dac58d5e00dbebfc4d28abc
Diffstat (limited to 'filter/source')
-rw-r--r-- | filter/source/config/fragments/filters/StarOffice_Presentation.xcu | 29 | ||||
-rw-r--r-- | filter/source/config/fragments/types/StarOffice_Presentation.xcu | 27 |
2 files changed, 56 insertions, 0 deletions
diff --git a/filter/source/config/fragments/filters/StarOffice_Presentation.xcu b/filter/source/config/fragments/filters/StarOffice_Presentation.xcu new file mode 100644 index 000000000000..7179379d74d6 --- /dev/null +++ b/filter/source/config/fragments/filters/StarOffice_Presentation.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_Presentation" oor:op="replace"> + <prop oor:name="Flags"> + <value>IMPORT ALIEN 3RDPARTYFILTER PREFERRED</value> + </prop> + <prop oor:name="FilterService"> + <value>org.libreoffice.comp.Impress.StarOfficePresentationImportFilter</value> + </prop> + <prop oor:name="UIName"> + <value xml:lang="en-US">Legacy StarOffice Presentation</value> + </prop> + <prop oor:name="FileFormatVersion"> + <value>0</value> + </prop> + <prop oor:name="Type"> + <value>StarOffice_Presentation</value> + </prop> + <prop oor:name="DocumentService"> + <value>com.sun.star.presentation.PresentationDocument</value> + </prop> +</node> diff --git a/filter/source/config/fragments/types/StarOffice_Presentation.xcu b/filter/source/config/fragments/types/StarOffice_Presentation.xcu new file mode 100644 index 000000000000..02c0f3af67a8 --- /dev/null +++ b/filter/source/config/fragments/types/StarOffice_Presentation.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_Presentation" oor:op="replace"> + <prop oor:name="DetectService"> + <value>org.libreoffice.comp.Impress.StarOfficePresentationImportFilter</value> + </prop> + <prop oor:name="Extensions"> + <value>sdd</value> + </prop> + <prop oor:name="MediaType"/> + <prop oor:name="Preferred"> + <value>true</value> + </prop> + <prop oor:name="PreferredFilter"> + <value>StarOffice_Presentation</value> + </prop> + <prop oor:name="UIName"> + <value>Legacy StarOffice Presentation</value> + </prop> +</node> |