diff options
Diffstat (limited to 'share/extensions/webslicer_create_group.inx')
-rw-r--r-- | share/extensions/webslicer_create_group.inx | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/share/extensions/webslicer_create_group.inx b/share/extensions/webslicer_create_group.inx new file mode 100644 index 0000000..33053fb --- /dev/null +++ b/share/extensions/webslicer_create_group.inx @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension"> + <name>Set a layout group</name> + <id>org.inkscape.web.slicer.create_group</id> + <dependency type="file" location="inx">webslicer_effect.py</dependency> + <param name="tab" type="notebook"> + <page name="Options" gui-text="Options"> + <param name="html-id" type="string" gui-text="HTML id attribute:"></param> + <param name="html-class" type="string" gui-text="HTML class attribute:"></param> + <param name="width-unity" type="optiongroup" appearance="combo" gui-text="Width unit:"> + <option value="px">Pixel (fixed)</option> + <option value="percent">Percent (relative to parent size)</option> + <option value="undefined">Undefined (relative to non-floating content size)</option> + </param> + <param name="height-unity" type="optiongroup" appearance="combo" gui-text="Height unit:"> + <option value="px">Pixel (fixed)</option> + <option value="percent">Percent (relative to parent size)</option> + <option value="undefined">Undefined (relative to non-floating content size)</option> + </param> + <param name="bg-color" type="string" gui-text="Background color:"></param> + </page> + <page name="Help" gui-text="Help"> + <label>Layout Group is only about to help a better code generation (if you need it). To use this, you must to select some "Slicer rectangles" first.</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_create_group.py</command> + </script> +</inkscape-extension> |