home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / Inkscape / Inkscape-0.48.2-1-win32.exe / share / extensions / webslicer_create_rect.inx < prev    next >
Extensible Markup Language  |  2011-07-08  |  4KB  |  74 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
  3.   <_name>Create a slicer rectangle</_name>
  4.   <id>org.inkscape.web.slicer.create-rect</id>
  5.   <dependency type="executable" location="extensions">webslicer_effect.py</dependency>
  6.   <dependency type="executable" location="extensions">webslicer_create_rect.py</dependency>
  7.   <dependency type="executable" location="extensions">inkex.py</dependency>
  8.   <param name="name" type="string" _gui-text="Name:"></param>
  9.   <param name="format" type="enum" _gui-text="Format:">
  10.     <item value="png">PNG</item>
  11.     <item value="jpg">JPG</item>
  12.     <item value="gif">GIF</item>
  13.   </param>
  14.   <param name="dpi" type="float" min="1" max="9999" _gui-text="DPI:">90</param>
  15.   <param name="dimension" type="string" _gui-text="Force Dimension:"></param>
  16. <!-- i18n. Description duplicated in a fake value attribute in order to make it translatable -->
  17.   <param name="help-dimension1" type="description" _value="Force Dimension must be set as <width>x<height>">Force Dimension must be set as <width>x<height></param>
  18.   <_param name="help-dimension2" type="description">If set, this will replace DPI.</_param>
  19.   <param name="bg-color" type="string" _gui-text="Background color:"></param>
  20.   <param name="tab" type="notebook">
  21.     <page name="tabJPG" gui-text="JPG">
  22.       <_param name="help-jpg" type="description">JPG specific options</_param>
  23.       <param name="quality" type="int" min="0" max="100" _gui-text="Quality:">85</param>
  24.       <_param name="help-quality" type="description">0 is the lowest image quality and highest compression, and 100 is the best quality but least effective compression</_param>
  25.     </page>
  26.     <page name="tabGIF" gui-text="GIF">
  27.       <_param name="help-gif" type="description">GIF specific options</_param>
  28.       <param name="gif-type" type="enum" _gui-text="Type:">
  29.         <_item value="grayscale">Grayscale</_item>
  30.         <_item value="palette">Palette</_item>
  31.       </param>
  32.       <param name="palette-size" type="int" min="2" max="256" _gui-text="Palette size:">256</param>
  33.     </page>
  34.     <page name="tabHTML" gui-text="HTML">
  35.       <param name="html-id" type="string" _gui-text="HTML id attribute:"></param>
  36.       <param name="html-class" type="string" _gui-text="HTML class attribute:"></param>
  37.       <_param name="help-gif" type="description">Options for HTML export</_param>
  38.       <param name="layout-disposition" type="enum" _gui-text="Layout disposition:">
  39.         <_item value="bg-el-norepeat">Positioned html block element with the image as Background</_item>
  40.         <_item value="bg-parent-repeat">Tiled Background (on parent group)</_item>
  41.         <_item value="bg-parent-repeat-x">Background ΓÇö repeat horizontally (on parent group)</_item>
  42.         <_item value="bg-parent-repeat-y">Background ΓÇö repeat vertically (on parent group)</_item>
  43.         <_item value="bg-parent-norepeat">Background ΓÇö no repeat (on parent group)</_item>
  44.         <_item value="img-pos">Positioned Image</_item>
  45.         <_item value="img-nonpos">Non Positioned Image</_item>
  46.         <_item value="img-float-left">Left Floated Image</_item>
  47.         <_item value="img-float-right">Right Floated Image</_item>
  48.       </param>
  49.       <param name="layout-position-anchor" type="enum" _gui-text="Position anchor:">
  50.         <_item value="tl">Top and Left</_item>
  51.         <_item value="tc">Top and Center</_item>
  52.         <_item value="tr">Top and right</_item>
  53.         <_item value="ml">Middle and Left</_item>
  54.         <_item value="mc">Middle and Center</_item>
  55.         <_item value="mr">Middle and Right</_item>
  56.         <_item value="bl">Bottom and Left</_item>
  57.         <_item value="bc">Bottom and Center</_item>
  58.         <_item value="br">Bottom and Right</_item>
  59.       </param>
  60.     </page>
  61.   </param>
  62.   <effect needs-live-preview="false">
  63.     <object-type>all</object-type>
  64.     <effects-menu>
  65.       <submenu _name="Web">
  66.         <submenu name="Slicer"/>
  67.       </submenu>
  68.     </effects-menu>
  69.   </effect>
  70.   <script>
  71.     <command reldir="extensions" interpreter="python">webslicer_create_rect.py</command>
  72.   </script>
  73. </inkscape-extension>
  74.