HEX
Server: Apache
System: Linux opal14.opalstack.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User: curbgloabal_opal (1234)
PHP: 8.1.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/share/inkscape/extensions/webslicer_export.inx
<?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="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="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>
        </page>
        <page name="Help" _gui-text="Help">
            <_param name="about" type="description">All sliced images, and optionally - code, will be generated as you had configured and saved to one directory.</_param>
        </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 reldir="extensions" interpreter="python">webslicer_export.py</command>
    </script>
</inkscape-extension>