diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:29:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:29:01 +0000 |
commit | 35a96bde514a8897f6f0fcc41c5833bf63df2e2a (patch) | |
tree | 657d15a03cc46bd099fc2c6546a7a4ad43815d9f /share/extensions/webslicer_export.inx | |
parent | Initial commit. (diff) | |
download | inkscape-35a96bde514a8897f6f0fcc41c5833bf63df2e2a.tar.xz inkscape-35a96bde514a8897f6f0fcc41c5833bf63df2e2a.zip |
Adding upstream version 1.0.2.upstream/1.0.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/extensions/webslicer_export.inx')
-rw-r--r-- | share/extensions/webslicer_export.inx | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/share/extensions/webslicer_export.inx b/share/extensions/webslicer_export.inx new file mode 100644 index 0000000..53ab683 --- /dev/null +++ b/share/extensions/webslicer_export.inx @@ -0,0 +1,27 @@ +<?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="file" location="inx">webslicer_effect.py</dependency> + <param name="tab" type="notebook"> + <page name="Options" gui-text="Options"> + <param name="dir" type="string" gui-text="Directory path to export:"></param> + <param name="create-dir" type="bool" gui-text="Create directory, if it does not exists">false</param> + <param name="with-code" type="bool" gui-text="With HTML and CSS">true</param> + </page> + <page name="Help" gui-text="Help"> + <label>All sliced images, and optionally - code, will be generated as you had configured and saved to one directory.</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_export.py</command> + </script> +</inkscape-extension> |