Warning, /education/gcompris/tools/inkscape/export_layers_gcompris.inx is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
0003     <_name>Export layers GCompris</_name>
0004 
0005     <id>com.over9000.export-layers-gcompris</id>
0006 
0007     <dependency type="executable" location="inx">export_layers_gcompris.py</dependency>
0008 
0009     <param name="help" type="description">  Export layers in different files, and a text file with normalized coordinates   </param>
0010     <param name="help" type="description">  of the center of each layer's content (one group per layer).</param>
0011     <param name="help" type="description">  </param>
0012     <param name="help" type="description">  Layers with a name starting with "[fixed]" or "[f]" are always exported.   </param>
0013     <param name="help" type="description">  Layers with a name starting with "[back]" are always exported at document boundaries size.   </param>
0014     <param name="help" type="description">  All other layers are progressively exported in their respective order.   </param>
0015     <param name="help" type="description">  </param>
0016     <param name="help" type="description">  Output filename is of the form: </param>
0017     <param name="help" type="description">    /path/to/output/directory/[subdirectory/][prefix_][number_]layer_name.ext  </param>
0018     <param name="help" type="description">  with [subdirectory], [prefix] and [number] being optionnal </param>
0019     <param name="help" type="description">  </param>
0020     <param name="help" type="description">  If you pick a file below,     </param>
0021     <param name="help" type="description">  - Its directory will be the '/path/to/output/directory/'.   </param>
0022     <param name="help" type="description">  - Its filename will be the [prefix] (leave filename empty for no prefix)   </param>
0023     <param name="help" type="description"> If you leave this box empty, default output directory will be '~/' with no prefix    </param>
0024     <param name="output-source" type="path" _gui-text="Source file"></param>
0025     <param name="help" type="description">     </param>
0026     <param name="help" type="description"> Name of [subdirectory/] to export to (leave empty for no subdirectory)     </param>
0027     <param name="output-subdir" type="string" _gui-text="Sub-directory">layers/</param>
0028     <param name="help" type="description">     </param>
0029     <param name="enumerate" type="boolean" _gui-text="Add layer {number} to filenames ('001', '002', etc.)">false</param>
0030     <param name="help" type="description">     </param>
0031 
0032     <param name="fit-contents" type="optiongroup"  _gui-text="Area to export">
0033         <option value="true" selected="selected">Fit document size to layer content</option>
0034         <option value="false">Use document boundaries</option>
0035     </param>
0036 
0037     <param name="help" type="description">     </param>
0038     <param name="help" type="description"> Show all exported layers below the current layer.     </param>
0039     <param name="show-layers-below" type="boolean" _gui-text="Progressively reveal elements of a figure">false</param>
0040 
0041     <param name="help" type="description">     </param>
0042     <param name="file-type" type="optiongroup"  _gui-text="Output file type">
0043         <option value="svg" selected="selected">SVG</option>
0044         <option value="png">PNG</option>
0045     </param>
0046 
0047     <param name="dpi" type="int" min="1" max="1024" _gui-text="Export DPI (for raster formats)">96</param>
0048 
0049     <effect needs-live-preview="false">
0050         <object-type>all</object-type>
0051         <effects-menu>
0052             <submenu _name="Export"/>
0053         </effects-menu>
0054     </effect>
0055 
0056     <script>
0057         <command location="inx" interpreter="python">export_layers_gcompris.py</command>
0058     </script>
0059 </inkscape-extension>