summaryrefslogtreecommitdiffstats
path: root/share/extensions/text_extract.inx
diff options
context:
space:
mode:
Diffstat (limited to 'share/extensions/text_extract.inx')
-rw-r--r--share/extensions/text_extract.inx30
1 files changed, 30 insertions, 0 deletions
diff --git a/share/extensions/text_extract.inx b/share/extensions/text_extract.inx
new file mode 100644
index 0000000..05dddeb
--- /dev/null
+++ b/share/extensions/text_extract.inx
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Extract</name>
+ <id>org.inkscape.text.extract</id>
+ <param name="direction" type="optiongroup" appearance="combo" gui-text="Text direction:">
+ <option value="lr">Left to right</option>
+ <option value="bt">Bottom to top</option>
+ <option value="rl">Right to left</option>
+ <option value="tb">Top to bottom</option>
+ </param>
+ <param name="xanchor" type="optiongroup" appearance="combo" gui-text="Horizontal point:">
+ <option value="left">Left</option>
+ <option value="center_x">Middle</option>
+ <option value="right">Right</option>
+ </param>
+ <param name="yanchor" type="optiongroup" appearance="combo" gui-text="Vertical point:">
+ <option value="top">Top</option>
+ <option value="center_y">Middle</option>
+ <option value="bottom">Bottom</option>
+ </param>
+ <effect>
+ <object-type>all</object-type>
+ <effects-menu>
+ <submenu name="Text"/>
+ </effects-menu>
+ </effect>
+ <script>
+ <command location="inx" interpreter="python">text_extract.py</command>
+ </script>
+</inkscape-extension>