Issue 13301 - OO Draw does not import DXF files in ASCII Format
Summary: OO Draw does not import DXF files in ASCII Format
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 Beta
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: sven.jacobi
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-11 07:16 UTC by Unknown
Modified: 2003-09-08 16:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Small ASCII DXF file (a line, a box, a text string) created with DIA 0.9 (1.12 KB, text/plain)
2003-04-15 12:45 UTC, Unknown
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-04-11 07:16:12 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.
Comment 1 wolframgarten 2003-04-11 07:28:38 UTC
Reassigned to Sven. Please add a comment if this is really a bug or a
feature. Thanks.
Comment 2 sven.jacobi 2003-04-15 10:46:16 UTC
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.
Comment 3 Unknown 2003-04-15 12:45:42 UTC
Created attachment 5679 [details]
Small ASCII DXF file (a line, a box, a text string) created with DIA 0.9
Comment 4 Unknown 2003-04-15 12:55:42 UTC
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? 
Comment 5 sven.jacobi 2003-04-30 14:44:48 UTC
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.
Comment 6 sven.jacobi 2003-04-30 14:46:14 UTC
I close this Issue.