summaryrefslogtreecommitdiffstats
path: root/share/extensions/webslicer_create_group.inx
blob: 33053fb37a6e199d5ab8dee94ac37ac51e7c223e (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
31
32
33
34
35
36
37
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Set a layout group</name>
    <id>org.inkscape.web.slicer.create_group</id>
    <dependency type="file" location="inx">webslicer_effect.py</dependency>
    <param name="tab" type="notebook">
        <page name="Options" gui-text="Options">
            <param name="html-id" type="string" gui-text="HTML id attribute:"></param>
            <param name="html-class" type="string" gui-text="HTML class attribute:"></param>
            <param name="width-unity" type="optiongroup" appearance="combo" gui-text="Width unit:">
            <option value="px">Pixel (fixed)</option>
            <option value="percent">Percent (relative to parent size)</option>
            <option value="undefined">Undefined (relative to non-floating content size)</option>
            </param>
            <param name="height-unity" type="optiongroup" appearance="combo" gui-text="Height unit:">
            <option value="px">Pixel (fixed)</option>
            <option value="percent">Percent (relative to parent size)</option>
            <option value="undefined">Undefined (relative to non-floating content size)</option>
            </param>
            <param name="bg-color" type="string" gui-text="Background color:"></param>
        </page>
        <page name="Help" gui-text="Help">
            <label>Layout Group is only about to help a better code generation (if you need it). To use this, you must to select some "Slicer rectangles" first.</label>
        </page>
    </param>
    <effect needs-live-preview="false">
        <object-type>all</object-type>
        <effects-menu>
            <submenu name="Web">
                <submenu name="Slicer"/>
            </submenu>
        </effects-menu>
    </effect>
    <script>
        <command location="inx" interpreter="python">webslicer_create_group.py</command>
    </script>
</inkscape-extension>