summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-10-31 13:23:30 +0100
committerFridrich Strba <fridrich@documentfoundation.org>2013-10-31 12:51:12 +0000
commit660800d6f33a01ad53fc0f5717e1c33868440d2f (patch)
treefbdc23b8eec78622820e394ad9e0e72adf6daa88 /filter
parent67153d76844fe8d8f3aba17f019443c96fbdd829 (diff)
BIPU Freehand importer
Change-Id: I5b233343269b4107bbcfef5ea1c9b1fc7b735ed2 Reviewed-on: https://gerrit.libreoffice.org/6511 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'filter')
-rw-r--r--filter/Configuration_filter.mk2
-rw-r--r--filter/source/config/fragments/filters/FreehandDocument.xcu13
-rw-r--r--filter/source/config/fragments/types/draw_Freehand_Document.xcu12
3 files changed, 27 insertions, 0 deletions
diff --git a/filter/Configuration_filter.mk b/filter/Configuration_filter.mk
index 62f21b6cbc14..269866bf5364 100644
--- a/filter/Configuration_filter.mk
+++ b/filter/Configuration_filter.mk
@@ -556,6 +556,7 @@ $(call filter_Configuration_add_types,fcfg_langpack,fcfg_draw_types.xcu,filter/s
draw_Publisher_Document \
draw_CorelDraw_Document \
draw_Corel_Presentation_Exchange \
+ draw_Freehand_Document \
)
$(call filter_Configuration_add_filters,fcfg_langpack,fcfg_draw_filters.xcu,filter/source/config/fragments/filters,\
@@ -569,6 +570,7 @@ $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_draw_filters.xcu,filt
PublisherDocument \
CorelDrawDocument \
CorelPresentationExchange \
+ FreehandDocument \
)
$(call filter_Configuration_add_ui_filters,fcfg_langpack,filter/source/config/fragments/filters,\
diff --git a/filter/source/config/fragments/filters/FreehandDocument.xcu b/filter/source/config/fragments/filters/FreehandDocument.xcu
new file mode 100644
index 000000000000..12bfd5fe1bb1
--- /dev/null
+++ b/filter/source/config/fragments/filters/FreehandDocument.xcu
@@ -0,0 +1,13 @@
+ <node oor:name="Freehand Document" oor:op="replace">
+ <prop oor:name="Flags"><value>IMPORT ALIEN USESOPTIONS 3RDPARTYFILTER PREFERRED</value></prop>
+ <prop oor:name="UIComponent"/>
+ <prop oor:name="FilterService"><value>com.sun.star.comp.Draw.FreehandImportFilter</value></prop>
+ <prop oor:name="UserData"><value></value></prop>
+ <prop oor:name="UIName">
+ <value xml:lang="x-default">Adobe/Macromedia Freehand</value>
+ </prop>
+ <prop oor:name="FileFormatVersion"><value>0</value></prop>
+ <prop oor:name="Type"><value>draw_Freehand_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_Freehand_Document.xcu b/filter/source/config/fragments/types/draw_Freehand_Document.xcu
new file mode 100644
index 000000000000..1cc887e9b953
--- /dev/null
+++ b/filter/source/config/fragments/types/draw_Freehand_Document.xcu
@@ -0,0 +1,12 @@
+ <node oor:name="draw_Freehand_Document" oor:op="replace" >
+ <prop oor:name="DetectService"><value>com.sun.star.comp.Draw.FreehandImportFilter</value></prop>
+ <prop oor:name="URLPattern"/>
+ <prop oor:name="Extensions"><value>fh fh1 fh2 fh3 fh4 fh5 fh6 fh7 fh8 fh9 fh10 fh11</value></prop>
+ <prop oor:name="MediaType"><value>application/x-freehand</value></prop>
+ <prop oor:name="Preferred"><value>true</value></prop>
+ <prop oor:name="PreferredFilter"><value>Freehand Document</value></prop>
+ <prop oor:name="UIName">
+ <value>Adobe/Macromedia Freehand</value>
+ </prop>
+ <prop oor:name="ClipboardFormat"/>
+ </node>