diff options
author | David Tardon <dtardon@redhat.com> | 2015-05-20 13:21:06 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-05-20 15:13:12 +0200 |
commit | d5ffc8b0adacf31e88156588f57db3149f430ad3 (patch) | |
tree | 77fc8b647ae224ce792446a924725af9007b0fc7 /filter | |
parent | sw: fix -Werror=shadow (diff) | |
download | core-d5ffc8b0adacf31e88156588f57db3149f430ad3.tar.gz core-d5ffc8b0adacf31e88156588f57db3149f430ad3.zip |
enable Apple Pages import
Change-Id: I1ae1a09de43a2743d6bf9eba0c9a389b99bdfc67
Diffstat (limited to 'filter')
-rw-r--r-- | filter/Configuration_filter.mk | 2 | ||||
-rw-r--r-- | filter/source/config/fragments/filters/ApplePages.xcu | 29 | ||||
-rw-r--r-- | filter/source/config/fragments/types/writer_ApplePages.xcu | 29 |
3 files changed, 60 insertions, 0 deletions
diff --git a/filter/Configuration_filter.mk b/filter/Configuration_filter.mk index c2d207629295..91ef26fde92f 100644 --- a/filter/Configuration_filter.mk +++ b/filter/Configuration_filter.mk @@ -369,6 +369,7 @@ $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_writer_types.xcu writer_Plucker_eBook \ writer_TealDoc \ writer_zTXT \ + writer_ApplePages \ )) $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_writer_filters.xcu,filter/source/config/fragments/filters,\ @@ -431,6 +432,7 @@ $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_writer_filters Plucker_eBook \ TealDoc \ zTXT \ + ApplePages \ )) # fcfg_web diff --git a/filter/source/config/fragments/filters/ApplePages.xcu b/filter/source/config/fragments/filters/ApplePages.xcu new file mode 100644 index 000000000000..4b772774f6e3 --- /dev/null +++ b/filter/source/config/fragments/filters/ApplePages.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="Apple Pages" oor:op="replace"> + <prop oor:name="Flags"> + <value>IMPORT ALIEN USESOPTIONS 3RDPARTYFILTER PREFERRED</value> + </prop> + <prop oor:name="FilterService"> + <value>org.libreoffice.comp.Writer.PagesImportFilter</value> + </prop> + <prop oor:name="UIName"> + <value xml:lang="en-US">Apple Pages 4</value> + </prop> + <prop oor:name="FileFormatVersion"> + <value>0</value> + </prop> + <prop oor:name="Type"> + <value>writer_ApplePages</value> + </prop> + <prop oor:name="DocumentService"> + <value>com.sun.star.text.TextDocument</value> + </prop> +</node> diff --git a/filter/source/config/fragments/types/writer_ApplePages.xcu b/filter/source/config/fragments/types/writer_ApplePages.xcu new file mode 100644 index 000000000000..823a766b50a3 --- /dev/null +++ b/filter/source/config/fragments/types/writer_ApplePages.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="writer_ApplePages" oor:op="replace"> + <prop oor:name="DetectService"> + <value>org.libreoffice.comp.Writer.PagesImportFilter</value> + </prop> + <prop oor:name="Extensions"> + <value>pages</value> + </prop> + <prop oor:name="MediaType"> + <value>application/x-iwork-pages-sffpages</value> + </prop> + <prop oor:name="Preferred"> + <value>true</value> + </prop> + <prop oor:name="PreferredFilter"> + <value>Apple Pages</value> + </prop> + <prop oor:name="UIName"> + <value>Apple Pages</value> + </prop> +</node> |