Commit ebb25507 authored by Marcin Floryan's avatar Marcin Floryan Committed by mfloryan

All extensions are now propper XML files with a namespace and all validate...

All extensions are now propper XML files with a namespace and all validate against the new inkscape.extension.rng RelaxNG schema.

(bzr r5472)
parent beee5fea
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Add Nodes</_name>
<id>org.ekips.filter.addnodes</id>
<dependency type="executable" location="extensions">addnodes.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>AI 8.0 Input</_name>
<id>org.inkscape.input.ai</id>
<dependency type="executable" location="path">perl</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>AI 8.0 Output</_name>
<id>org.inkscape.output.ai</id>
<dependency type="executable" location="path">gs</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>AI SVG Input</_name>
<id>org.inkscape.input.aisvg</id>
<input>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Corel DRAW Compressed Exchange files input</_name>
<id>org.inkscape.input.ccx</id>
<dependency type="executable" location="path">uniconv</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Corel DRAW Input</_name>
<id>org.inkscape.input.cdr</id>
<dependency type="executable" location="path">uniconv</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Corel DRAW templates input</_name>
<id>org.inkscape.input.cdt</id>
<dependency type="executable" location="path">uniconv</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Computer Graphics Metafile files input</_name>
<id>org.inkscape.input.cgm</id>
<dependency type="executable" location="path">uniconv</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Corel DRAW Presentation Exchange files input</_name>
<id>org.inkscape.input.cmx</id>
<dependency type="executable" location="path">uniconv</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Brighter</_name>
<id>org.inkscape.color.brighter</id>
<dependency type="executable" location="extensions">coloreffect.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Custom</_name>
<id>org.inkscape.color.custom</id>
<dependency type="executable" location="extensions">coloreffect.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Darker</_name>
<id>org.inkscape.color.darker</id>
<dependency type="executable" location="extensions">coloreffect.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Desaturate</_name>
<id>org.inkscape.color.desaturate</id>
<dependency type="executable" location="extensions">coloreffect.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Grayscale</_name>
<id>org.inkscape.color.grayscale</id>
<dependency type="executable" location="extensions">coloreffect.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Less Hue</_name>
<id>org.inkscape.color.lesshue</id>
<dependency type="executable" location="extensions">coloreffect.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Less Light</_name>
<id>org.inkscape.color.lesslight</id>
<dependency type="executable" location="extensions">coloreffect.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Less Saturation</_name>
<id>org.inkscape.color.lesssaturation</id>
<dependency type="executable" location="extensions">coloreffect.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>More Hue</_name>
<id>org.inkscape.color.morehue</id>
<dependency type="executable" location="extensions">coloreffect.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>More Light</_name>
<id>org.inkscape.color.morelight</id>
<dependency type="executable" location="extensions">coloreffect.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>More Saturation</_name>
<id>org.inkscape.color.moresaturation</id>
<dependency type="executable" location="extensions">coloreffect.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Negative</_name>
<id>org.inkscape.color.negative</id>
<dependency type="executable" location="extensions">coloreffect.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Randomize</_name>
<id>org.inkscape.color.randomize</id>
<dependency type="executable" location="extensions">coloreffect.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Remove Blue</_name>
<id>org.inkscape.color.removeblue</id>
<dependency type="executable" location="extensions">coloreffect.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Remove Green</_name>
<id>org.inkscape.color.removegreen</id>
<dependency type="executable" location="extensions">coloreffect.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Remove Red</_name>
<id>org.inkscape.color.removered</id>
<dependency type="executable" location="extensions">coloreffect.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Replace color</_name>
<id>org.inkscape.color.replacecolor</id>
<dependency type="executable" location="extensions">coloreffect.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>RGB Barrel</_name>
<id>org.inkscape.color.rgbbarrel</id>
<dependency type="executable" location="extensions">coloreffect.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Dia Input</_name>
<id>org.inkscape.input.dia</id>
<dependency type="executable" location="extensions" _description="The dia2svg.sh script should be installed with your Inkscape distribution. If you do not have it, there is likely to be something wrong with your Inkscape installation.">dia2svg.sh</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Dimensions</_name>
<id>se.lewerin.filter.dimension</id>
<dependency type="executable" location="extensions">dimension.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Number Nodes</_name>
<id>org.ekips.filter.dots</id>
<dependency type="executable" location="extensions">dots.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>DXF Input</_name>
<id>org.inkscape.input.dxf</id>
<dependency type="executable" _description="dxf2svg may come with Inkscape, but is also at http://dxf-svg-convert.sourceforge.net/">dxf2svg</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Desktop Cutting Plotter</_name>
<id>org.ekips.output.dxf_outlines</id>
<dependency type="extension">org.inkscape.output.svg.inkscape</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>DXF Output</_name>
<id>org.inkscape.output.dxf</id>
<dependency type="extension">org.inkscape.output.ps</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Edge 3D</_name>
<id>org.greygreen.inkscape.effects.edge3d</id>
<dependency type="executable" location="extensions">edge3d.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Embed All Images</_name>
<id>org.ekips.filter.embedimage</id>
<dependency type="executable" location="extensions">embedimage.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>EPS Input</_name>
<id>org.inkscape.input.eps</id>
<dependency type="executable">pstoedit</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>EPSI Output</_name>
<id>org.inkscape.output.epsi</id>
<dependency type="extension">org.inkscape.output.ps</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>LaTeX formula</_name>
<id>org.inkscape.effect.eqtexsvg</id>
<dependency type="executable" location="extensions">eqtexsvg.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Export as GIMP Palette</_name>
<id>com.kaioa.export_gimp_palette</id>
<dependency type="executable" location="extensions">export_gimp_palette.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Extract One Image</_name>
<id>org.ekips.filter.extractimage</id>
<dependency type="executable" location="extensions">extractimage.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>XFIG Input</_name>
<id>org.inkscape.input.fig</id>
<dependency type="executable" location="path">fig2dev</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Flatten Beziers</_name>
<id>org.ekips.filter.flatten</id>
<dependency type="executable" location="extensions">flatten.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Fractalize</_name>
<id>org.ekips.filter.fractalize</id>
<dependency type="executable" location="extensions">fractalize.py</dependency>
......
<inkscape-extension>
<_name>Function Plotter</_name>
<id>org.inkscape.effect.funcplot</id>
<dependency type="executable" location="extensions">funcplot.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
<param name="tab" type="notebook">
<page name="sampling" _gui-text="Range and Sampling">
<param name="xstart" type="float" min="-1000.0" max="1000.0" _gui-text="Start x-value">0.0</param>
<param name="xend" type="float" min="-1000.0" max="1000.0" _gui-text="End x-value">1.0</param>
<param name="times2pi" type="boolean" _gui-text="Multiply x-range by 2*pi">false</param>
<param name="ybottom" type="float" min="-1000.0" max="1000.0" _gui-text="y-value of rectangle's bottom">0.0</param>
<param name="ytop" type="float" min="-1000.0" max="1000.0" _gui-text="y-value of rectangle's top">1.0</param>
<param name="samples" type="int" min="2" max="1000" _gui-text="Samples">8</param>
<param name="isoscale" type="boolean" _gui-text="Isotropic scaling (uses smallest: width/xrange or height/yrange)">false</param>
<param name="polar" type="boolean" _gui-text="Use polar coordinates">true</param>
</page>
<page name="use" _gui-text="Use">
<_param name="funcplotuse" type="description">Select a rectangle before calling effect.
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Function Plotter</_name>
<id>org.inkscape.effect.funcplot</id>
<dependency type="executable" location="extensions">funcplot.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
<param name="tab" type="notebook">
<page name="sampling" _gui-text="Range and Sampling">
<param name="xstart" type="float" min="-1000.0" max="1000.0" _gui-text="Start x-value">0.0</param>
<param name="xend" type="float" min="-1000.0" max="1000.0" _gui-text="End x-value">1.0</param>
<param name="times2pi" type="boolean" _gui-text="Multiply x-range by 2*pi">false</param>
<param name="ybottom" type="float" min="-1000.0" max="1000.0" _gui-text="y-value of rectangle's bottom">0.0</param>
<param name="ytop" type="float" min="-1000.0" max="1000.0" _gui-text="y-value of rectangle's top">1.0</param>
<param name="samples" type="int" min="2" max="1000" _gui-text="Samples">8</param>
<param name="isoscale" type="boolean" _gui-text="Isotropic scaling (uses smallest: width/xrange or height/yrange)">false</param>
<param name="polar" type="boolean" _gui-text="Use polar coordinates">true</param>
</page>
<page name="use" _gui-text="Use">
<_param name="funcplotuse" type="description">Select a rectangle before calling effect.
Rectangle determines x and y scales.
With polar coordinates:
......@@ -23,9 +24,9 @@ With polar coordinates:
x scale is set so left and right edges of rectangle are at +/-1.
Isotropic scaling is disabled.
First derivative is always determined numerically.</_param>
</page>
<page name="desc" _gui-text="Functions">
<_param name="pythonfunctions" type="description">Standard python math functions are available:
</page>
<page name="desc" _gui-text="Functions">
<_param name="pythonfunctions" type="description">Standard python math functions are available:
ceil(x); fabs(x); floor(x); fmod(x,y); frexp(x); ldexp(x,i);
modf(x); exp(x); log(x [, base]); log10(x); pow(x,y); sqrt(x);
......@@ -33,21 +34,21 @@ acos(x); asin(x); atan(x); atan2(y,x); hypot(x,y);
cos(x); sin(x); tan(x); degrees(x); radians(x);
cosh(x); sinh(x); tanh(x).
The constants pi and e are also available. </_param>
</page>
</param>
<param name="fofx" type="string" _gui-text="Function">exp(-x*x)</param>
<param name="fponum" type="boolean" _gui-text="Calculate first derivative numerically">true</param>
<param name="fpofx" type="string" _gui-text="First derivative">x</param>
<param name="remove" type="boolean" _gui-text="Remove rectangle">true</param>
<param name="drawaxis" type="boolean" _gui-text="Draw Axes">false</param>
<effect>
<object-type>rect</object-type>
<effects-menu>
<submenu _name="Render"/>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">funcplot.py</command>
</script>
The constants pi and e are also available.</_param>
</page>
</param>
<param name="fofx" type="string" _gui-text="Function">exp(-x*x)</param>
<param name="fponum" type="boolean" _gui-text="Calculate first derivative numerically">true</param>
<param name="fpofx" type="string" _gui-text="First derivative">x</param>
<param name="remove" type="boolean" _gui-text="Remove rectangle">true</param>
<param name="drawaxis" type="boolean" _gui-text="Draw Axes">false</param>
<effect>
<object-type>rect</object-type>
<effects-menu>
<submenu _name="Render"/>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">funcplot.py</command>
</script>
</inkscape-extension>
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Gear</_name>
<id>org.ekips.filter.gears</id>
<dependency type="executable" location="extensions">gears.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>GIMP XCF</_name>
<id>org.ekips.output.gimp_xcf</id>
<dependency type="extension">org.inkscape.output.svg.inkscape</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Draw Handles</_name>
<id>org.ekips.filter.handles</id>
<dependency type="executable" location="extensions">handles.py</dependency>
......
<?xml version="1.0" encoding="UTF-8"?>
<grammar datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://www.inkscape.org/namespace/inkscape/extension" xmlns="http://relaxng.org/ns/structure/1.0"><start><element name="inkscape-extension"><element name="_name"><text/></element><element name="id"><text/></element><zeroOrMore><element name="dependency"><attribute name="type"><ref name="inx.dependency-type.values"/></attribute><optional><attribute name="location"><ref name="inx.location.values"/></attribute></optional><optional><attribute name="_description"><text/></attribute></optional><text/></element></zeroOrMore><zeroOrMore><choice><ref name="inx.parameters"/><element name="param"><attribute name="name"/><attribute name="type"><value>notebook
</value></attribute><oneOrMore><element name="page"><attribute name="name"/><attribute name="_gui-text"/><oneOrMore><ref name="inx.parameters"/></oneOrMore></element></oneOrMore></element></choice></zeroOrMore><choice><element name="input"><ref name="inx.io.common"/><optional><element name="output_extension"><text/></element></optional></element><element name="output"><ref name="inx.io.common"/><optional><element name="dataloss"><data type="boolean"/></element></optional></element><element name="effect"><optional><attribute name="needs-document"><data type="boolean"/></attribute></optional><optional><attribute name="needs-live-preview"><data type="boolean"/></attribute></optional><element name="object-type"><choice><value type="token">all</value><value type="token">path</value><value type="token">rect</value></choice></element><element name="effects-menu"><choice><attribute name="hidden"><value type="boolean">true</value></attribute><group><element name="submenu"><attribute name="_name"><text/></attribute><empty/></element></group></choice></element></element><element name="path-effect"><empty/></element><element name="print"><empty/></element></choice><choice><element name="script"><group><element name="command"><ref name="inx.reldir.attr"/><optional><attribute name="interpreter"><choice><value>python</value><value>perl</value></choice></attribute></optional><text/></element><optional><element name="helper_extension"><data type="NMTOKEN"/></element></optional><zeroOrMore><element name="check"><ref name="inx.reldir.attr"/><text/></element></zeroOrMore></group></element><element name="xslt"><element name="file"><ref name="inx.reldir.attr"/><text/></element></element><element name="plugin"><element name="name"><text/></element></element></choice></element></start><define name="inx.reldir.attr"><attribute name="reldir"><ref name="inx.location.values"/></attribute></define><define name="inx.location.values"><choice><value>extensions</value><value>path</value><value>plugins</value></choice></define><define name="inx.dependency-type.values"><choice><value>extension</value><value>executable</value><value>plugin</value></choice></define><define name="inx.io.common"><element name="extension"><text/></element><element name="mimetype"><text/></element><optional><element name="_filetypename"><text/></element></optional><optional><element name="_filetypetooltip"><text/></element></optional></define><define name="inx.parameter"><attribute name="name"><data type="token"/></attribute><optional><attribute name="gui-hidden"><data type="boolean"/></attribute></optional><optional><attribute name="_gui-text"/></optional><choice><group><attribute name="type"><value>int</value></attribute><optional><attribute name="min"><data type="integer"/></attribute></optional><optional><attribute name="max"><data type="integer"/></attribute></optional><choice><empty/><data type="integer"/></choice></group><group><attribute name="type"><value>float</value></attribute><optional><attribute name="precision"><data type="integer"/></attribute></optional><optional><attribute name="min"><data type="float"/></attribute></optional><optional><attribute name="max"><data type="float"/></attribute></optional><data type="float"/></group><group><attribute name="type"><value>boolean</value></attribute><data type="boolean"/></group><group><attribute name="type"><value>string</value></attribute><optional><attribute name="max_length"><data type="integer"/></attribute></optional><choice><empty/><text/></choice></group><group><attribute name="type"><value>description</value></attribute><text/></group><group><attribute name="type"><value>enum</value></attribute><oneOrMore><choice><element name="_item"><ref name="inx.parameter.enum.item"/></element><element name="item"><ref name="inx.parameter.enum.item"/></element></choice></oneOrMore></group><group><attribute name="type"><value>optiongroup</value></attribute><oneOrMore><choice><element name="option"><ref name="inx.parameter.optiongroup.option"/></element><element name="_option"><ref name="inx.parameter.optiongroup.option"/></element></choice></oneOrMore></group></choice></define><define name="inx.parameters"><choice><element name="param"><ref name="inx.parameter"/></element><element name="_param"><ref name="inx.parameter"/></element></choice></define><define name="inx.parameter.enum.item"><attribute name="value"/><data type="token"/></define><define name="inx.parameter.optiongroup.option"><optional><attribute name="value"><text/></attribute></optional><text/></define></grammar>
\ No newline at end of file
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Ask Us a Question</_name>
<id>org.inkscape.help.askaquestion</id>
<dependency type="executable" location="extensions">launch_webbrowser.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Command Line Options</_name>
<id>org.inkscape.help.commandline</id>
<dependency type="executable" location="extensions">launch_webbrowser.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>FAQ</_name>
<id>org.inkscape.help.faq</id>
<dependency type="executable" location="extensions">launch_webbrowser.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Keys and Mouse Reference</_name>
<id>org.inkscape.help.keys</id>
<dependency type="executable" location="extensions">launch_webbrowser.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Inkscape Manual</_name>
<id>org.inkscape.help.manual</id>
<dependency type="executable" location="extensions">launch_webbrowser.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>New in This Version</_name>
<id>org.inkscape.help.relnotes</id>
<dependency type="executable" location="extensions">launch_webbrowser.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Report a Bug</_name>
<id>org.inkscape.help.reportabug</id>
<dependency type="executable" location="extensions">launch_webbrowser.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>SVG 1.1 Specification</_name>
<id>org.inkscape.help.svgspec</id>
<dependency type="executable" location="extensions">launch_webbrowser.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Interpolate</_name>
<id>org.ekips.filter.interp</id>
<dependency type="executable" location="extensions">interp.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>L-system</_name>
<id>org.ekips.filter.turtle.lindenmayer</id>
<dependency type="executable" location="extensions">lindenmayer.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Lorem ipsum</_name>
<id>com.kaioa.lorem_ipsum</id>
<dependency type="executable" location="extensions">lorem_ipsum.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Color Markers to Match Stroke</_name>
<id>org.ekips.filter.markers.strokepaint</id>
<dependency type="executable" location="extensions">markers_strokepaint.py</dependency>
......
<inkscape-extension>
<_name>Measure Path</_name>
<id>com.njhurst.filter.measure_length</id>
<dependency type="executable" location="extensions">measure.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
<param name="tab" type="notebook">
<page name="measure" _gui-text="Measure">
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Measure Path</_name>
<id>com.njhurst.filter.measure_length</id>
<dependency type="executable" location="extensions">measure.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
<param name="tab" type="notebook">
<page name="measure" _gui-text="Measure">
<param name="fontsize" type="int" min="1" max="1000" _gui-text="Font size [px]">12</param>
<param name="offset" type="float" min="-10000" max="10000" _gui-text="Offset [px]">-6</param>
<param name="precision" type="int" min="0" max="25" _gui-text="Precision">2</param>
<param name="scale" type="float" min="1e-8" max="1e10" _gui-text="Scale Factor (Drawing:Real Length) = 1:">1</param>
<!-- <param name="orient" type="boolean" _gui-text="Keep text orientation upright">true</param>-->
<!--<param name="orient" type="boolean" _gui-text="Keep text orientation upright">true</param>-->
<!--<param name="unit" type="string" _gui-text="Unit {km|m|cm|mm|in|px|pt}">mm</param>-->
<param name="unit" type="enum" _gui-text="Length Unit: ">
<item value="px">px</item>
......@@ -20,20 +21,20 @@
<item value="mm">mm</item>
<item value="cm">cm</item>
<item value="m">m</item>
<item>km</item>
<item value="km">km</item>
</param>
</page>
<page name="desc" _gui-text="Help">
<_param name="measurehelp" type="description">This effect measures the length of the selected path and adds it as a text-on-path object with the selected unit. The number of significant digits can be controlled by the Precision field. The Offset field controls the distance from the text to the path. The Scale factor can be used to make measurements in scaled drawings. For example, if 1 cm in the drawing equals 2.5 m in the real world, Scale must be set to 250.</_param>
</page>
</param>
<effect>
<object-type>path</object-type>
<effects-menu>
<submenu _name="Visualize Path"/>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">measure.py</command>
</script>
</page>
<page name="desc" _gui-text="Help">
<_param name="measurehelp" type="description">This effect measures the length of the selected path and adds it as a text-on-path object with the selected unit. The number of significant digits can be controlled by the Precision field. The Offset field controls the distance from the text to the path. The Scale factor can be used to make measurements in scaled drawings. For example, if 1 cm in the drawing equals 2.5 m in the real world, Scale must be set to 250.</_param>
</page>
</param>
<effect>
<object-type>path</object-type>
<effects-menu>
<submenu _name="Visualize Path"/>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">measure.py</command>
</script>
</inkscape-extension>
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Extrude</_name>
<id>org.ekips.filter.motion</id>
<dependency type="executable" location="extensions">motion.py</dependency>
......
<inkscape-extension>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Text Outline Input</_name>
<id>org.inkscape.input.outline</id>
<dependency type="executable" location="extensions">outline2svg.pl</dependency>
......
<inkscape-extension>
<_name>Pattern along Path</_name>
<id>math.univ-lille1.barraud.pathdeform</id>
<dependency type="executable" location="extensions">pathmodifier.py</dependency>
<dependency type="executable" location="extensions">pathalongpath.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
<_param name="title" type="description">This effect bends a pattern object along arbitrary "skeleton" paths. The pattern is the top most object in the selection. (groups of paths/shapes/clones... allowed)</_param>
<param name="copymode" type="enum" _gui-text="Copies of the pattern:">
<_item value="Single">Single</_item>
<_item value="Single, stretched">Single, stretched</_item>
<_item value="Repeated">Repeated</_item>
<_item value="Repeated, stretched">Repeated, stretched</_item>
</param>
<param name="kind" type="enum" _gui-text="Deformation type:">
<_item value="Snake">Snake</_item>
<_item value="Ribbon">Ribbon</_item>
</param>
<param name="space" type="float" _gui-text="Space between copies:" min="-10000.0" max="10000.0" >0.0</param>
<param name="noffset" type="float" _gui-text="Normal offset" min="-10000.0" max="10000.0">0.0</param>
<param name="toffset" type="float" _gui-text="Tangential offset" min="-10000.0" max="10000.0" >0.0</param>
<param name="vertical" type="boolean" _gui-text="Pattern is vertical">false</param>
<param name="duplicate" type="boolean" _gui-text="Duplicate the pattern before deformation">true</param>
<effect>
<effects-menu>
<submenu _name="Generate from Path"/>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">pathalongpath.py</command>
</script>
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Pattern along Path</_name>
<id>math.univ-lille1.barraud.pathdeform</id>
<dependency type="executable" location="extensions">pathmodifier.py</dependency>
<dependency type="executable" location="extensions">pathalongpath.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
<_param name="title" type="description">This effect bends a pattern object along arbitrary "skeleton" paths. The pattern is the top most object in the selection. (groups of paths/shapes/clones... allowed)</_param>
<param name="copymode" type="enum" _gui-text="Copies of the pattern:">
<_item value="Single">Single</_item>
<_item value="Single, stretched">Single, stretched</_item>
<_item value="Repeated">Repeated</_item>
<_item value="Repeated, stretched">Repeated, stretched</_item>
</param>
<param name="kind" type="enum" _gui-text="Deformation type:">
<_item value="Snake">Snake</_item>
<_item value="Ribbon">Ribbon</_item>
</param>
<param name="space" type="float" _gui-text="Space between copies:" min="-10000.0" max="10000.0">0.0</param>
<param name="noffset" type="float" _gui-text="Normal offset" min="-10000.0" max="10000.0">0.0</param>
<param name="toffset" type="float" _gui-text="Tangential offset" min="-10000.0" max="10000.0">0.0</param>
<param name="vertical" type="boolean" _gui-text="Pattern is vertical">false</param>
<param name="duplicate" type="boolean" _gui-text="Duplicate the pattern before deformation">true</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu _name="Generate from Path"/>
</effects-menu>
</effect>