Code

Merge and cleanup of GSoC C++-ification project.
[inkscape.git] / share / extensions / dxf_input.inx
1 <?xml version="1.0" encoding="UTF-8"?>
2 <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
3         <_name>DXF Input</_name>
4         <id>org.inkscape.input.dxf</id>
5         <dependency type="executable" location="extensions">dxf_input.py</dependency>
6         <dependency type="executable" location="extensions">inkex.py</dependency>
7         <param name="tab" type="notebook">
8                 <page name="options" _gui-text="Options">
9                         <param name="auto" type="boolean" _gui-text="Use automatic scaling to size A4">true</param>
10                         <param name="scale" type="string" _gui-text="Or, use manual scale factor">1.0</param>
11                         <param name="gcodetoolspoints" type="boolean" _gui-text="Gcodetools compatible point import">false</param>
12                         <param name="sep1" type="description">-------------------------------------------------------------------------</param>
13                         <param name="encoding" type="enum" _gui-text="Character Encoding">
14                                 <item value="latin_1">Latin 1</item>
15                                 <item value="cp1250">CP 1250</item>
16                                 <item value="cp1252">CP 1252</item>
17                                 <item value="utf_8">UTF 8</item>
18                         </param>
19                         <param name="font" type="string" _gui-text="Text Font">Arial</param>
20                 </page>
21                 <page name="help" _gui-text="Help">
22                         <_param name="inputhelp" type="description" xml:space="preserve">- AutoCAD Release 13 and newer.
23 - assume dxf drawing is in mm.
24 - assume svg drawing is in pixels, at 90 dpi.
25 - layers are preserved only on File->Open, not Import.
26 - limited support for BLOCKS, use AutoCAD Explode Blocks instead, if needed.</_param>
27                 </page>
28         </param>
29         <input>
30                 <extension>.dxf</extension>
31                 <mimetype>image/x-svgz</mimetype>
32                 <_filetypename>AutoCAD DXF R13 (*.dxf)</_filetypename>
33                 <_filetypetooltip>Import AutoCAD's Document Exchange Format</_filetypetooltip>
34         </input>
35         <script>
36                 <command reldir="extensions" interpreter="python">dxf_input.py</command>
37         </script>
38 </inkscape-extension>