From 7022c3e71f3136dc0904dbdfccca2d4fbc5d9f66 Mon Sep 17 00:00:00 2001 From: JazzyNico Date: Wed, 8 Sep 2010 20:33:09 +0200 Subject: [PATCH] Extensions. Consistency fix and UI improvements (Render submenu, part 1). --- share/extensions/foldablebox.inx | 52 ++-- share/extensions/gears.inx | 6 +- share/extensions/grid_cartesian.inx | 36 +-- share/extensions/grid_polar.inx | 38 +-- share/extensions/guides_creator.inx | 56 ++-- share/extensions/param_curves.inx | 72 +++-- share/extensions/perfectboundcover.inx | 74 ++--- share/extensions/printing-marks.inx | 84 +++--- .../extensions/render_barcode_datamatrix.inx | 8 +- share/extensions/restack.inx | 34 +-- share/extensions/rtree.inx | 4 +- share/extensions/svgcalendar.inx | 270 +++++++++--------- 12 files changed, 367 insertions(+), 367 deletions(-) diff --git a/share/extensions/foldablebox.inx b/share/extensions/foldablebox.inx index e984e6509..72475ca3f 100644 --- a/share/extensions/foldablebox.inx +++ b/share/extensions/foldablebox.inx @@ -1,29 +1,29 @@ - <_name>Foldable Box - org.inkscape.render.foldable-box - foldablebox.py - inkex.py - 10.0 - 15.0 - 3.0 - 0.01 - 0.6 - - - - - - - - true - - all - - - - - + <_name>Foldable Box + org.inkscape.render.foldable-box + foldablebox.py + inkex.py + 10.0 + 15.0 + 3.0 + 0.01 + 0.6 + + px + pt + in + cm + mm + + true + + all + + + + + diff --git a/share/extensions/gears.inx b/share/extensions/gears.inx index 5cf4e4c2f..8360a3745 100644 --- a/share/extensions/gears.inx +++ b/share/extensions/gears.inx @@ -4,9 +4,9 @@ org.ekips.filter.gears gears.py inkex.py - 24 - 20.0 - 20.0 + 24 + 20.0 + 20.0 all diff --git a/share/extensions/grid_cartesian.inx b/share/extensions/grid_cartesian.inx index ecec105de..445f50904 100644 --- a/share/extensions/grid_cartesian.inx +++ b/share/extensions/grid_cartesian.inx @@ -4,25 +4,27 @@ grid.cartesian grid_cartesian.py inkex.py - 6 - 100.0 - 2 + 3 + <_param name="x_axis" type="groupheader">X Axis + 6 + 100.0 + 2 false - 5 - 4 - 2 - 1 - 0.3 - 5 - 100.0 - 1 + 5 + 4 + 2 + 1 + 0.3 + <_param name="y_axis" type="groupheader">Y Axis + 5 + 100.0 + 1 false - 5 - 4 - 2 - 1 - 0.3 - 3 + 5 + 4 + 2 + 1 + 0.3 all diff --git a/share/extensions/grid_polar.inx b/share/extensions/grid_polar.inx index ec73681fa..7eb0efe52 100644 --- a/share/extensions/grid_polar.inx +++ b/share/extensions/grid_polar.inx @@ -4,24 +4,28 @@ grids.polar grid_polar.py inkex.py - 5 - 50.0 - 3 + 5.0 + + <_item value="none">None + <_item value="deg">Degrees + + 18 + 24 + <_param name="circ_divs_label" type="groupheader">Circular Divisions + 5 + 50.0 + 3 false - 2 - 1 - 24 - 4 - 1 - 2 - 2 - 1 - 5.0 - - <_option value="none">None - <_option value="deg">Degrees - 18 - 24 + 2 + 1 + <_param name="ang_divs_label" type="groupheader">Angular Divisions + 24 + 4 + 1 + 2 + 2 + 1 + all diff --git a/share/extensions/guides_creator.inx b/share/extensions/guides_creator.inx index 23fed9d56..11aa84e11 100644 --- a/share/extensions/guides_creator.inx +++ b/share/extensions/guides_creator.inx @@ -4,36 +4,36 @@ org.inkscape.effect.guidescreator guides_creator.py inkex.py - - <_option value="custom">Custom... - <_option value="golden">Golden ratio - <_option value="3;3">Rule-of-third - - - <_option value="0">None - <_option value="2">1/2 - <_option value="3">1/3 - <_option value="4">1/4 - <_option value="5">1/5 - <_option value="6">1/6 - <_option value="7">1/7 - <_option value="8">1/8 - <_option value="9">1/9 - <_option value="10">1/10 + + <_item value="custom">Custom... + <_item value="golden">Golden ratio + <_item value="3;3">Rule-of-third + + + <_item value="0">None + <_item value="2">1/2 + <_item value="3">1/3 + <_item value="4">1/4 + <_item value="5">1/5 + <_item value="6">1/6 + <_item value="7">1/7 + <_item value="8">1/8 + <_item value="9">1/9 + <_item value="10">1/10 - - <_option value="0">None - <_option value="2">1/2 - <_option value="3">1/3 - <_option value="4">1/4 - <_option value="5">1/5 - <_option value="6">1/6 - <_option value="7">1/7 - <_option value="8">1/8 - <_option value="9">1/9 - <_option value="10">1/10 + + <_item value="0">None + <_item value="2">1/2 + <_item value="3">1/3 + <_item value="4">1/4 + <_item value="5">1/5 + <_item value="6">1/6 + <_item value="7">1/7 + <_item value="8">1/8 + <_item value="9">1/9 + <_item value="10">1/10 - false + false false all diff --git a/share/extensions/param_curves.inx b/share/extensions/param_curves.inx index e9d734fe1..82a1df2af 100644 --- a/share/extensions/param_curves.inx +++ b/share/extensions/param_curves.inx @@ -1,30 +1,26 @@ - <_name>Parametric Curves - org.inkscape.effect.param_curves - param_curves.py - inkex.py - - - 0.0 - 1.0 - true - -1.0 - 1.0 - -1.0 - 1.0 - 30 - false - - - <_param name="funcplotuse" type="description" xml:space="preserve">Select a rectangle before calling the extension, -it will determine X and Y scales. - -First derivatives are always determined numerically. - - - <_param name="pythonfunctions" type="description" xml:space="preserve">Standard Python math functions are available: + <_name>Parametric Curves + org.inkscape.effect.param_curves + param_curves.py + inkex.py + + + 0.0 + 1.0 + true + -1.0 + 1.0 + -1.0 + 1.0 + 30 + false + <_param name="isoscaledesc" type="description">When set, Isotropic scaling uses smallest: width/xrange or height/yrange. + + + <_param name="funcplotuse" type="description" xml:space="preserve">Select a rectangle before calling the extension, it will determine X and Y scales. First derivatives are always determined numerically. +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); acos(x); asin(x); atan(x); atan2(y,x); hypot(x,y); @@ -32,19 +28,19 @@ cos(x); sin(x); tan(x); degrees(x); radians(x); cosh(x); sinh(x); tanh(x). The constants pi and e are also available. - - - cos(3*t) - sin(5*t) - true - false - - rect - + + + cos(3*t) + sin(5*t) + true + false + + rect + - - - + + + diff --git a/share/extensions/perfectboundcover.inx b/share/extensions/perfectboundcover.inx index 15886a632..4cbe27a7f 100644 --- a/share/extensions/perfectboundcover.inx +++ b/share/extensions/perfectboundcover.inx @@ -1,41 +1,41 @@ - <_name>Perfect-Bound Cover Template - org.coswellproductions.inkscape.effects.perfectboundcover - perfectboundcover.py - inkex.py - <_param name="book" type="description">Book Properties - 6 - 9 - 64 - true - <_param name="paper" type="description">Interior Pages - - <_option value="ppi">Pages Per Inch (PPI) - <_option value="caliper">Caliper (inches) - <_option value="points">Points - <_option value="bond_weight">Bond Weight # - <_option value="width">Specify Width - - 0 - <_param name="cover" type="description">Cover - - <_option value="ppi">Pages Per Inch (PPI) - <_option value="caliper">Caliper (inches) - <_option value="points">Points - <_option value="bond_weight">Bond Weight # - <_option value="width">Specify Width - - 0 - .25 - <_param name="warning" type="description">Note: Bond Weight # calculations are a best-guess estimate. - - all - - - - - + diff --git a/share/extensions/printing-marks.inx b/share/extensions/printing-marks.inx index 4447a275e..612ae84f5 100644 --- a/share/extensions/printing-marks.inx +++ b/share/extensions/printing-marks.inx @@ -1,49 +1,49 @@ - <_name>Printing Marks - org.inkscape.printing.marks - printing-marks.py - inkex.py + <_name>Printing Marks + org.inkscape.printing.marks + printing-marks.py + inkex.py - - - true - false - true - false - true - false - - - - <_item value="canvas">Canvas - <_item value="selection">Selection - - - - - - - - - 5 - <_param name="bleed_settings" type="description">Bleed Margin - 5 - 5 - 5 - 5 - - + + + true + false + true + false + true + false + + + + <_item value="canvas">Canvas + <_item value="selection">Selection + + + px + pt + in + cm + mm + + 5 + <_param name="bleed_settings" type="groupheader">Bleed Margin + 5 + 5 + 5 + 5 + + - - all - - - - + + all + + + + - + diff --git a/share/extensions/render_barcode_datamatrix.inx b/share/extensions/render_barcode_datamatrix.inx index ea2aa4705..58699e4a9 100644 --- a/share/extensions/render_barcode_datamatrix.inx +++ b/share/extensions/render_barcode_datamatrix.inx @@ -4,10 +4,10 @@ il.datamatrix render_barcode_datamatrix.py inkex.py - Inkscape - 10 - 10 - 4 + Inkscape + 10 + 10 + 4 all diff --git a/share/extensions/restack.inx b/share/extensions/restack.inx index 07d222a16..67f0f777a 100644 --- a/share/extensions/restack.inx +++ b/share/extensions/restack.inx @@ -4,25 +4,25 @@ org.inkscape.filter.restack restack.py inkex.py - - <_option value="lr">Left to Right (0) - <_option value="bt">Bottom to Top (90) - <_option value="rl">Right to Left (180) - <_option value="tb">Top to Bottom (270) - <_option value="ro">Radial Outward - <_option value="ri">Radial Inward - <_option value="aa">Arbitrary Angle: + + <_item value="lr">Left to Right (0) + <_item value="bt">Bottom to Top (90) + <_item value="rl">Right to Left (180) + <_item value="tb">Top to Bottom (270) + <_item value="ro">Radial Outward + <_item value="ri">Radial Inward + <_item value="aa">Arbitrary Angle - 0.00 - - <_option value="l">Left - <_option value="m">Middle - <_option value="r">Right + 0.00 + + <_item value="l">Left + <_item value="m">Middle + <_item value="r">Right - - <_option value="t">Top - <_option value="m">Middle - <_option value="b">Bottom + + <_item value="t">Top + <_item value="m">Middle + <_item value="b">Bottom path diff --git a/share/extensions/rtree.inx b/share/extensions/rtree.inx index fec2a4bec..5fcac5560 100644 --- a/share/extensions/rtree.inx +++ b/share/extensions/rtree.inx @@ -4,8 +4,8 @@ org.ekips.filter.turtle.rtree rtree.py inkex.py - 100.0 - 40.0 + 100.0 + 40.0 all diff --git a/share/extensions/svgcalendar.inx b/share/extensions/svgcalendar.inx index fd1af0544..dee9da0c6 100644 --- a/share/extensions/svgcalendar.inx +++ b/share/extensions/svgcalendar.inx @@ -1,139 +1,137 @@ - <_name>Calendar - org.inkscape.render.calendar - - svgcalendar.py - inkex.py - - - - 0 - 0 - true - - <_item value="sun">Sunday - <_item value="mon">Monday - - - <_item value="sat+sun">Saturday and Sunday - <_item value="sat">Saturday - <_item value="sun">Sunday - - - - true - <_param name="organize-help" type="description">The options below have no influence when the above is checked. - 3 - 6cm - 1cm - - - #808080 - #686868 - #909090 - #000000 - #787878 - #B0B0B0 - - - <_param name="l10n-help" type="description">You may change the names for other languages: - <_param name="month-names" type="string" _gui-text="Month names" xml:space="preserve">January February March April May June July August September October November December - <_param name="day-names" type="string" _gui-text="Day names" xml:space="preserve">Sun Mon Tue Wed Thu Fri Sat - <_param name="day-names-help" type="description">(The day names list must start from Sunday) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_param name="encoding-help" type="description">(Select your system encoding. More information at http://docs.python.org/library/codecs.html#standard-encodings) - - - - all - - - - - + <_name>Calendar + org.inkscape.render.calendar + svgcalendar.py + inkex.py + + + 0 + 0 + true + + <_item value="sun">Sunday + <_item value="mon">Monday + + + <_item value="sat+sun">Saturday and Sunday + <_item value="sat">Saturday + <_item value="sun">Sunday + + + + true + <_param name="organize-help" type="description">The options below have no influence when the above is checked. + 3 + 6cm + 1cm + + + #808080 + #686868 + #909090 + #000000 + #787878 + #B0B0B0 + + + <_param name="l10n-help" type="description">You may change the names for other languages: + <_param name="month-names" type="string" _gui-text="Month names:" xml:space="preserve">January February March April May June July August September October November December + <_param name="day-names" type="string" _gui-text="Day names:" xml:space="preserve">Sun Mon Tue Wed Thu Fri Sat + <_param name="day-names-help" type="description">The day names list must start from Sunday. + + arabic + big5-tw + big5-hkscs + chinese + cp737 + cp856 + cp874 + cp875 + cp1006 + cyrillic + cyrillic-asian + eucjis2004 + eucjisx0213 + gbk + gb18030-2000 + greek + hebrew + hz-gb + IBM037 + IBM424 + IBM437 + IBM500 + IBM775 + IBM850 + IBM852 + IBM855 + IBM857 + IBM860 + IBM861 + IBM862 + IBM863 + IBM864 + IBM865 + IBM866 + IBM869 + IBM1026 + IBM1140 + iso-2022-jp + iso-2022-jp-1 + iso-2022-jp-2 + iso-2022-jp-2004 + iso-2022-jp-3 + iso-2022-jp-ext + iso-2022-kr + johab + korean + koi8_r + koi8_u + latin1 + latin2 + latin3 + latin4 + latin5 + latin6 + latin8 + Latin - iso-8859-15 - Western Europe + macgreek + maciceland + maccentraleurope + macroman + macturkish + ms932 + ms949 + ms950 + sjis + sjis2004 + sjisx0213 + u-jis + us-ascii + Windows - Central and Eastern Europe + Windows - Russian and more + Windows - Western Europe + Windows - Greek + Windows - Turkish + Windows - Hebrew + Windows - Arabic + Windows - Baltic languages + Windows - Vietnamese + UTF-32 - All languages + UTF-16 - All languages + UTF-8 - All languages + + <_param name="encoding-help" type="description">Select your system encoding. More information at http://docs.python.org/library/codecs.html#standard-encodings. + + + + all + + + + + -- 2.30.2