Apache OpenOffice (AOO) Bugzilla – Issue 13301
OO Draw does not import DXF files in ASCII Format
Last modified: 2003-09-08 16:52:24 UTC
The import filter for DXF Drawings does not work for ASCII DXF files. (I currently cannot generate binary DXF files). Error message is : unknown file format The DXF drawing is very simple, a line, a rectangle and a text string drawn randomly with dia 0.90 and exported as DXF. Visual checking of the DXF output with reference to Autocad dxf14 docu indicate that the DXF file is ok. This problem seems to be older and is also true of OO 1.0 and Staroffice 6.0. Since OO does not import SVG either, there seems to be no convenient way to import automatically generated vector drawings into an OO document.
Reassigned to Sven. Please add a comment if this is really a bug or a feature. Thanks.
Hi, the dxf import filter of OOo is not supporting binary dxf files, so you should have no problems with your graphic. It would be best if you attach your file to this Issue, so it can be determined what's going wrong. If you need to import vector graphics, you can also try emf, wmf, met or pict format.
Created attachment 5679 [details] Small ASCII DXF file (a line, a box, a text string) created with DIA 0.9
Additional comments to uploaded DXF file. I have visually checked the file against the Autocad DXF Reference 2002, Appendix A (here there is a visual basic example on creating a dxf) and it looks ok. The suggestion to use emf, wmf, met or pict (I'm not famiiar with met or pict) has the drawback that it is more complex to generate drawings automatically with perl or C++. My current aim is to automatically generate electronic component symbols and maybe also block diagrams from a hardware description language and import these to an OO specification document. The ability to _import_ svg would be even nicer. Might I suggest it for future releases?
The problem in your attachment "test.dxf" is the firtst character, it should be an integer. ( "0" instead of "O" ), then everything is working. I also would like to have a SVG import, maybe there is somebody in the community who will implement this otherwise I can imagine that Batic will be integrated.
I close this Issue.