156 lines
8.1 KiB
XML
156 lines
8.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
|
<name>Batch Task</name>
|
|
<id>fablabchemnitz.de.batch_task</id>
|
|
<param name="tab_main" type="notebook">
|
|
<page name="Options" gui-text="Options">
|
|
<param name="target" type="optiongroup" appearance="radio" gui-text="XPath upon:">
|
|
<option value="root">Entire document</option>
|
|
<option value="selected">Only selected objects</option>
|
|
</param>
|
|
<param name="xpath" type="string" gui-text="XPath:" gui-description="default is '.'">.</param>
|
|
<param name="tab_effect" type="notebook">
|
|
<page name="Preset" gui-text="Presets">
|
|
<param name="effect_preset1" type="optiongroup" appearance="combo" gui-text="Preset effect 1:">
|
|
<option value="">Do nothing</option>
|
|
<option value="duplicate">duplicate</option>
|
|
<option value="delete-selection">delete-selection</option>
|
|
<option value="selection-group">selection-group</option>
|
|
<option value="selection-ungroup">selection-ungroup</option>
|
|
<option value="selection-raise">selection-raise</option>
|
|
<option value="selection-lower">selection-lower</option>
|
|
<option value="selection-top">selection-top</option>
|
|
<option value="selection-bottom">selection-bottom</option>
|
|
<option value="org.inkscape.color.brighter">Brighter</option>
|
|
<option value="org.inkscape.color.darker">Darker</option>
|
|
</param>
|
|
<param name="effect_preset2" type="optiongroup" appearance="combo" gui-text="Preset effect 2:">
|
|
<option value="">Do nothing</option>
|
|
<option value="duplicate">duplicate</option>
|
|
<option value="delete-selection">delete-selection</option>
|
|
<option value="selection-group">selection-group</option>
|
|
<option value="selection-ungroup">selection-ungroup</option>
|
|
<option value="selection-raise">selection-raise</option>
|
|
<option value="selection-lower">selection-lower</option>
|
|
<option value="selection-top">selection-top</option>
|
|
<option value="selection-bottom">selection-bottom</option>
|
|
<option value="org.inkscape.color.brighter">Brighter</option>
|
|
<option value="org.inkscape.color.darker">Darker</option>
|
|
</param>
|
|
<param name="effect_preset3" type="optiongroup" appearance="combo" gui-text="Preset effect 3:">
|
|
<option value="">Do nothing</option>
|
|
<option value="duplicate">duplicate</option>
|
|
<option value="delete-selection">delete-selection</option>
|
|
<option value="selection-group">selection-group</option>
|
|
<option value="selection-ungroup">selection-ungroup</option>
|
|
<option value="selection-raise">selection-raise</option>
|
|
<option value="selection-lower">selection-lower</option>
|
|
<option value="selection-top">selection-top</option>
|
|
<option value="selection-bottom">selection-bottom</option>
|
|
<option value="org.inkscape.color.brighter">Brighter</option>
|
|
<option value="org.inkscape.color.darker">Darker</option>
|
|
</param>
|
|
</page>
|
|
<page name="Simple" gui-text="Simple">
|
|
<param name="effect_simple1" type="string" gui-text="Effect 1:" />
|
|
<param name="effect_simple2" type="string" gui-text="Effect 2:" />
|
|
<param name="effect_simple3" type="string" gui-text="Effect 3:" />
|
|
</page>
|
|
<page name="Multi" gui-text="Multi">
|
|
<param name="effect_multi" type="string" gui-text="Effects:" appearance="multiline" />
|
|
</page>
|
|
</param>
|
|
<!-- <param type="string" name="varname" gui-text="label" indent="1" max-length="5" appearance="multiline">some text</param> -->
|
|
<!-- <param name="param_str2" type="string" gui-text="Effects:" [max-length="5" | appearance="multiline"]></param> -->
|
|
<!-- <param type="string" name="varname" gui-text="label" [indent="1"] [max-length="5" | appearance="multiline"]>some text</param> -->
|
|
<param name="mode" type="optiongroup" appearance="radio" gui-text="Apply effects to:">
|
|
<option value="all">Entire selection</option>
|
|
<option value="indiv">Each object in selection</option>
|
|
</param>
|
|
</page>
|
|
<page name="Help" gui-text="Help">
|
|
<label xml:space="preserve">
|
|
This template provides extension writers with a basis to write their python based Inkscape extensions quickly and properly.
|
|
|
|
This testing help text can be changed to help users of the extension.
|
|
</label>
|
|
</page>
|
|
<page name="null_Reference" gui-text="Reference">
|
|
<!--REFERENCE START -->
|
|
<param name="null_notebook" type="notebook">
|
|
<page name="null_edit" gui-text="Edit">
|
|
<label xml:space="preserve">cut
|
|
copy
|
|
paste-size</label>
|
|
<separator />
|
|
<label xml:space="preserve">duplicate
|
|
clone
|
|
selection-make-bitmap-copy</label>
|
|
<separator />
|
|
<label xml:space="preserve">delete</label>
|
|
</page>
|
|
<page name="null_objects" gui-text="Objects">
|
|
<label xml:space="preserve">selection-group
|
|
selection-ungroup</label>
|
|
<separator />
|
|
<label xml:space="preserve">object-set-clip
|
|
object-release-clip
|
|
object-set-mask
|
|
object-release-mask</label>
|
|
<separator />
|
|
<label xml:space="preserve">selection-raise
|
|
selection-lower
|
|
selection-top
|
|
selection-bottom</label>
|
|
</page>
|
|
<page name="null_objects_2" gui-text="Objects 2">
|
|
<label xml:space="preserve">object-rotate-90-cw
|
|
object-rotate-90-ccw
|
|
object-flip-horizontal
|
|
object-flip-vertical</label>
|
|
<separator />
|
|
<label xml:space="preserve">unhide-all
|
|
unlock-all</label>
|
|
</page>
|
|
<page name="null_path" gui-text="Path">
|
|
<label xml:space="preserve">path-union
|
|
path-difference
|
|
path-intersection</label>
|
|
<separator />
|
|
<label xml:space="preserve">path-exclusion
|
|
path-division
|
|
path-cut</label>
|
|
<separator />
|
|
<label xml:space="preserve">path-combine
|
|
path-break-apart</label>
|
|
</page>
|
|
<page name="null_text" gui-text="Text">
|
|
<label xml:space="preserve">text-unkern</label>
|
|
</page>
|
|
<page name="null_filters" gui-text="Filters">
|
|
<label xml:space="preserve">org.inkscape.color.brighter
|
|
org.inkscape.color.darker
|
|
org.inkscape.color.grayscale
|
|
org.inkscape.color.black_and_white</label>
|
|
</page>
|
|
<page name="null_extensions" gui-text="Extensions">
|
|
<label xml:space="preserve">last-effect</label>
|
|
</page>
|
|
</param>
|
|
<!-- REFERENCE END -->
|
|
</page>
|
|
</param>
|
|
<param name="dry_run" type="bool" gui-text="Dry run">true</param>
|
|
<effect>
|
|
<object-type>all</object-type>
|
|
<!--object-type>path</object-type-->
|
|
<effects-menu>
|
|
<submenu name="FabLab Chemnitz">
|
|
<submenu name="Various"/>
|
|
</submenu>
|
|
</effects-menu>
|
|
</effect>
|
|
<script>
|
|
<command location="inx" interpreter="python">batch_task.py</command>
|
|
</script>
|
|
</inkscape-extension> |