summaryrefslogtreecommitdiffstats
path: root/share/extensions/webslicer-export.inx
blob: 9f7aac32338c384bf64b05a7fe6778a14f9dd259 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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="executable" location="extensions">webslicer-export.py</dependency>
  <dependency type="executable" location="extensions">inkex.py</dependency>
  <_param name="about" type="description">All sliced images, and optionaly code, will be generated as you had configured and saved to one directory.</_param>
  <param name="dir" type="string" _gui-text="Directory path to export"></param>
  <param name="with-code" type="boolean" _gui-text="With HTML and CSS">true</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 reldir="extensions" interpreter="python">webslicer-export.py</command>
  </script>
</inkscape-extension>