File: webslicer_export.inx

package info (click to toggle)
inkscape 1.4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 402,900 kB
  • sloc: cpp: 547,256; python: 72,677; ansic: 63,355; javascript: 3,864; xml: 2,345; sh: 1,667; makefile: 824; perl: 614
file content (27 lines) | stat: -rw-r--r-- 1,249 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Export Layout Pieces and HTML+CSS code</name>
    <id>org.inkscape.web.slicer.export</id>
    <dependency type="file" location="inx">webslicer_effect.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="bool" gui-text="Create directory, if it does not exists">false</param>
            <param name="with-code" type="bool" gui-text="With HTML and CSS">true</param>
        </page>
        <page name="Help" gui-text="Help">
            <label>All sliced images, and optionally - code, will be generated as you had configured and saved to one directory.</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_export.py</command>
    </script>
</inkscape-extension>