Code

textual patch from bug 408093
[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="sep1" type="description">-------------------------------------------------------------------------</param>
12                         <param name="encoding" type="enum" _gui-text="Character Encoding">
13                                 <item value="latin_1">Latin 1</item>
14                                 <item value="cp1250">CP 1250</item>
15                                 <item value="cp1252">CP 1252</item>
16                                 <item value="utf_8">UTF 8</item>
17                         </param>
18                 </page>
19                 <page name="help" _gui-text="Help">
20                         <_param name="inputhelp" type="description" xml:space="preserve">- AutoCAD Release 13 and newer.
21 - assume dxf drawing is in mm.
22 - assume svg drawing is in pixels, at 90 dpi.
23 - layers are preserved only on File->Open, not Import.
24 - limited support for BLOCKS, use AutoCAD Explode Blocks instead, if needed.</_param>
25                 </page>
26         </param>
27         <input>
28                 <extension>.dxf</extension>
29                 <mimetype>image/x-svgz</mimetype>
30                 <_filetypename>AutoCAD DXF R13 (*.dxf)</_filetypename>
31                 <_filetypetooltip>Import AutoCAD's Document Exchange Format</_filetypetooltip>
32         </input>
33         <script>
34                 <command reldir="extensions" interpreter="python">dxf_input.py</command>
35         </script>
36 </inkscape-extension>