summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-10-30 08:56:06 +0100
committerDavid Tardon <dtardon@redhat.com>2013-10-30 19:49:34 +0000
commit412975713b4838582f635ac9e61a8a8e720ff09c (patch)
tree906f5a53c4d9ef88ca1a53a4640231d89c11c6b4 /filter
parent2c3d648117835df405ff8414c51821d2a0ed1519 (diff)
integrate Apple Keynote import filter
Change-Id: Icc36b761da9262a99af730cfe71f576bcaab3ee1 Reviewed-on: https://gerrit.libreoffice.org/6488 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/Configuration_filter.mk2
-rw-r--r--filter/source/config/fragments/filters/AppleKeynote.xcu29
-rw-r--r--filter/source/config/fragments/types/impress_AppleKeynote.xcu29
3 files changed, 60 insertions, 0 deletions
diff --git a/filter/Configuration_filter.mk b/filter/Configuration_filter.mk
index 645768e84fb3..62f21b6cbc14 100644
--- a/filter/Configuration_filter.mk
+++ b/filter/Configuration_filter.mk
@@ -581,6 +581,7 @@ $(call filter_Configuration_add_ui_filters,fcfg_langpack,filter/source/config/fr
# fcfg_impress
$(call filter_Configuration_add_types,fcfg_langpack,fcfg_impress_types.xcu,filter/source/config/fragments/types,\
draw_StarOffice_XML_Draw \
+ impress_AppleKeynote \
impress_MS_PowerPoint_97 \
impress_MS_PowerPoint_97_AutoPlay \
impress_MS_PowerPoint_97_Vorlage \
@@ -600,6 +601,7 @@ $(call filter_Configuration_add_types,fcfg_langpack,fcfg_impress_types.xcu,filte
)
$(call filter_Configuration_add_filters,fcfg_langpack,fcfg_impress_filters.xcu,filter/source/config/fragments/filters,\
+ AppleKeynote \
MS_PowerPoint_97 \
MS_PowerPoint_97_AutoPlay \
MS_PowerPoint_97_Vorlage \
diff --git a/filter/source/config/fragments/filters/AppleKeynote.xcu b/filter/source/config/fragments/filters/AppleKeynote.xcu
new file mode 100644
index 000000000000..84deba44fa49
--- /dev/null
+++ b/filter/source/config/fragments/filters/AppleKeynote.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 Keynote" oor:op="replace">
+ <prop oor:name="Flags">
+ <value>IMPORT ALIEN USESOPTIONS 3RDPARTYFILTER PREFERRED</value>
+ </prop>
+ <prop oor:name="FilterService">
+ <value>org.libreoffice.comp.Impress.KeynoteImportFilter</value>
+ </prop>
+ <prop oor:name="UIName">
+ <value xml:lang="x-default">Apple Keynote 5</value>
+ </prop>
+ <prop oor:name="FileFormatVersion">
+ <value>0</value>
+ </prop>
+ <prop oor:name="Type">
+ <value>impress_AppleKeynote</value>
+ </prop>
+ <prop oor:name="DocumentService">
+ <value>com.sun.star.presentation.PresentationDocument</value>
+ </prop>
+</node>
diff --git a/filter/source/config/fragments/types/impress_AppleKeynote.xcu b/filter/source/config/fragments/types/impress_AppleKeynote.xcu
new file mode 100644
index 000000000000..797df7ae0a45
--- /dev/null
+++ b/filter/source/config/fragments/types/impress_AppleKeynote.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="impress_AppleKeynote" oor:op="replace">
+ <prop oor:name="DetectService">
+ <value>org.libreoffice.comp.Impress.KeynoteImportFilter</value>
+ </prop>
+ <prop oor:name="Extensions">
+ <value>key</value>
+ </prop>
+ <prop oor:name="MediaType">
+ <value>application/x-iwork-keynote-sffkey</value>
+ </prop>
+ <prop oor:name="Preferred">
+ <value>true</value>
+ </prop>
+ <prop oor:name="PreferredFilter">
+ <value>Apple Keynote</value>
+ </prop>
+ <prop oor:name="UIName">
+ <value>Apple Keynote</value>
+ </prop>
+</node>