Code

add support for wmf-output using the uniconvertor (as used for the wmf-input
authortheAdib <theAdib@users.sourceforge.net>
Fri, 10 Apr 2009 19:48:07 +0000 (19:48 +0000)
committertheAdib <theAdib@users.sourceforge.net>
Fri, 10 Apr 2009 19:48:07 +0000 (19:48 +0000)
share/extensions/Makefile.am
share/extensions/wmf_output.inx [new file with mode: 0644]

index e168082d8f24c2d50716695e9373fd2d88af36bc..c4ab06ac00373c0c26f7737a2dc4adb79117818b 100644 (file)
@@ -237,6 +237,7 @@ modules = \
        web-transmit-att.inx \
        whirl.inx \
        wmf_input.inx \
+       wmf_output.inx \
        xaml2svg.inx
 
 
diff --git a/share/extensions/wmf_output.inx b/share/extensions/wmf_output.inx
new file mode 100644 (file)
index 0000000..01816e2
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+    <_name>Windows Metafile Input</_name>
+    <id>org.inkscape.output.wmf</id>
+    <dependency type="executable" location="extensions">uniconv-ext.py</dependency>
+    <output>
+        <extension>.wmf</extension>
+        <mimetype>application/x-wmf</mimetype>
+        <_filetypename>Windows Metafile (*.wmf)</_filetypename>
+        <_filetypetooltip>A popular graphics file format for clipart</_filetypetooltip>
+    </output>
+    <script>
+        <command reldir="extensions" interpreter="python">uniconv-ext.py</command>
+    </script>
+</inkscape-extension>