<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Deep Ungroup</name>
    <id>mcepl.ungroup_deep</id>
    <label>Ungroup all groups in the selected object.</label>
    <param name="startdepth" type="int" min="0" max="65535" gui-text="Starting Depth">0</param>
    <param name="maxdepth" type="int" min="0" max="65535" gui-text="Stopping Depth (from top)">65535</param>
    <param name="keepdepth" type="int" min="0" max="65535" gui-text="Depth to Keep (from bottom)">0</param>
    <param name="preserve_layers" type="bool" gui-text="Preserve Layers" gui-description="Do not ungroup layers">false</param>
    <effect needs-live-preview="false">
        <object-type>all</object-type>
        <effects-menu >
            <submenu name="Arrange" />
        </effects-menu>
    </effect>
    <script>
        <command location="inx" interpreter="python">ungroup_deep.py</command>
    </script>
</inkscape-extension>
