webslicer_export.inx 1.44 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
3 4 5 6 7 8 9 10 11 12 13 14
    <_name>Export layout pieces and HTML+CSS code</_name>
    <id>org.inkscape.web.slicer.export</id>
    <dependency type="executable" location="extensions">webslicer_effect.py</dependency>
    <dependency type="executable" location="extensions">webslicer_export.py</dependency>
    <dependency type="executable" location="extensions">inkex.py</dependency>
	<param name="tab" type="notebook">
        <page name="Options" _gui-text="Options">
            <param name="dir" type="string" _gui-text="Directory path to export:"></param>
            <param name="create-dir" type="boolean" _gui-text="Create directory, if it does not exists">false</param>
            <param name="with-code" type="boolean" _gui-text="With HTML and CSS">true</param>
        </page>
        <page name="Help" _gui-text="Help">
15
            <_param name="about" type="description">All sliced images, and optionally - code, will be generated as you had configured and saved to one directory.</_param>
16 17 18
        </page>
    </param>
    <effect needs-live-preview="false">
19 20
    <object-type>all</object-type>
    <effects-menu>
21 22 23
        <submenu _name="Web">
            <submenu name="Slicer"/>
        </submenu>
24
    </effects-menu>
25 26 27 28
    </effect>
    <script>
        <command reldir="extensions" interpreter="python">webslicer_export.py</command>
    </script>
29
</inkscape-extension>