summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorAleksas Pantechovskis <alex.pantec@gmail.com>2016-06-22 19:02:29 +0300
committerDavid Tardon <dtardon@redhat.com>2016-06-23 15:39:52 +0000
commitaaed6fe55a67ee3e92bedf9eed2e2f7c044be19d (patch)
treebf0161906efd08c45fb85c09a48514c807036e6e /filter
parentvcl: add initial PDF import-as-graphic filter (diff)
downloadcore-aaed6fe55a67ee3e92bedf9eed2e2f7c044be19d.tar.gz
core-aaed6fe55a67ee3e92bedf9eed2e2f7c044be19d.zip
integrate libzmf
Change-Id: I0c7ea5b56ea4ed4839ff38798c0b915aaca81774 Reviewed-on: https://gerrit.libreoffice.org/26574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-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/ZMFDocument.xcu13
-rw-r--r--filter/source/config/fragments/types/draw_ZMF_Document.xcu12
3 files changed, 27 insertions, 0 deletions
diff --git a/filter/Configuration_filter.mk b/filter/Configuration_filter.mk
index a17a00cde726..ef895de4f1de 100644
--- a/filter/Configuration_filter.mk
+++ b/filter/Configuration_filter.mk
@@ -547,6 +547,7 @@ $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_draw_types.xcu,f
draw_Visio_Document \
draw_ClarisWorks \
draw_PageMaker_Document \
+ draw_ZMF_Document \
MWAW_Bitmap \
MWAW_Drawing \
))
@@ -566,6 +567,7 @@ $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_draw_filters.x
FreehandDocument \
ClarisWorks_Draw \
PageMakerDocument \
+ ZMFDocument \
MWAW_Bitmap \
MWAW_Drawing \
))
diff --git a/filter/source/config/fragments/filters/ZMFDocument.xcu b/filter/source/config/fragments/filters/ZMFDocument.xcu
new file mode 100644
index 000000000000..b72449df3e1d
--- /dev/null
+++ b/filter/source/config/fragments/filters/ZMFDocument.xcu
@@ -0,0 +1,13 @@
+ <node oor:name="ZMF Document" oor:op="replace">
+ <prop oor:name="Flags"><value>IMPORT ALIEN 3RDPARTYFILTER PREFERRED</value></prop>
+ <prop oor:name="UIComponent"/>
+ <prop oor:name="FilterService"><value>org.libreoffice.comp.Draw.ZMFImportFilter</value></prop>
+ <prop oor:name="UserData"/>
+ <prop oor:name="UIName">
+ <value xml:lang="en-US">Zoner Callisto/Draw</value>
+ </prop>
+ <prop oor:name="FileFormatVersion"><value>0</value></prop>
+ <prop oor:name="Type"><value>draw_ZMF_Document</value></prop>
+ <prop oor:name="TemplateName"/>
+ <prop oor:name="DocumentService"><value>com.sun.star.drawing.DrawingDocument</value></prop>
+ </node>
diff --git a/filter/source/config/fragments/types/draw_ZMF_Document.xcu b/filter/source/config/fragments/types/draw_ZMF_Document.xcu
new file mode 100644
index 000000000000..ba67d5b96bc1
--- /dev/null
+++ b/filter/source/config/fragments/types/draw_ZMF_Document.xcu
@@ -0,0 +1,12 @@
+ <node oor:name="draw_ZMF_Document" oor:op="replace" >
+ <prop oor:name="DetectService"><value>org.libreoffice.comp.Draw.ZMFImportFilter</value></prop>
+ <prop oor:name="URLPattern"/>
+ <prop oor:name="Extensions"><value>zmf</value></prop>
+ <prop oor:name="MediaType"/>
+ <prop oor:name="Preferred"><value>true</value></prop>
+ <prop oor:name="PreferredFilter"><value>ZMF Document</value></prop>
+ <prop oor:name="UIName">
+ <value>Zoner Callisto/Draw</value>
+ </prop>
+ <prop oor:name="ClipboardFormat"/>
+ </node>