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="file" location="inx">webslicer_effect.py</dependency> 6 <param name="tab" type="notebook"> 7 <page name="Options" gui-text="Options"> 8 <param name="dir" type="string" gui-text="Directory path to export:"></param> 9 <param name="create-dir" type="bool" gui-text="Create directory, if it does not exists">false</param> 10 <param name="with-code" type="bool" gui-text="With HTML and CSS">true</param> 11 </page> 12 <page name="Help" gui-text="Help"> 13 <label>All sliced images, and optionally - code, will be generated as you had configured and saved to one directory.</label> 14 </page> 15 </param> 16 <effect needs-live-preview="false"> 17 <object-type>all</object-type> 18 <effects-menu> 19 <submenu name="Web"> 20 <submenu name="Slicer"/> 21 </submenu> 22 </effects-menu> 23 </effect> 24 <script> 25 <command location="inx" interpreter="python">webslicer_export.py</command> 26 </script> 27</inkscape-extension> 28