Code

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