summaryrefslogtreecommitdiffstats
path: root/share/extensions/text_extract.inx
blob: 05dddeb0552d5c6aee48cd53ea2997fdd9ab7716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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>