mightyscape-1.2/extensions/fablabchemnitz/edit_attributes/edit_attributes.inx

27 lines
1.0 KiB
Plaintext
Raw Normal View History

2022-10-03 03:07:44 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Edit Attributes</name>
<id>fablabchemnitz.de.edit_attributes</id>
<label>Edit value of attribute on selected elements.</label>
<label>For namespaces use {namespaceUrl}attributeName</label>
<param name="attributeName" type="string" gui-text="Name:"></param>
<param name="attributeValue" type="string" gui-text="Value: "></param>
<param name="mode" type="optiongroup" appearance="combo" gui-text="Operation on attribute">
<option value="set">Set</option>
<option value="append">Append</option>
<option value="prefix">Prefix</option>
2022-11-06 01:33:32 +01:00
<option value="clear">Clear content</option>
2022-10-03 03:07:44 +02:00
<option value="remove">Remove attribute</option>
</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Various"/>
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">edit_attributes.py</command>
</script>
</inkscape-extension>