summaryrefslogtreecommitdiffstats
path: root/share/extensions/webslicer_export.inx
blob: 3a7324370dbc1764ab3cf802e91b1e84ce202aad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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_effect.py</dependency>
  <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="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>
  <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>