Apache OpenOffice (AOO) Bugzilla – Issue 75928
Separating a group imported from DXF distorts the drawing
Last modified: 2013-08-07 15:40:43 UTC
I'm using OpenOffice 2.2, Czech version After importing a DXF file (I will attach it), the file is imported as one group and looks exactly the same as in the application where it was created. To be able to edit it, you have to first break the group apart to separate objects. Once you do it, some of the shapes would be distorted and the positions and sizes of the text would be moved. How to reproduce: 1. Import the attached drawing into OODraw using Open... 2. You will see 3 schematics in one group appear. 3. Right click on the group and choose "Separate" or "Break apart" ... I don't know exactly the english word for this menu item, in the Czech language it is "Rozpojit" (it separates previously grouped objects) 4. Now you see that all the texts move, and the triangle in the upper right schematics (operational amplifier) will loose one of its endpoints ... Similar behavior occurs when I open a WMF file - the curves and lines maintain their positions, but the text moves and even the font is changed! Strange thing is, that before separating the group, the imported image looks as it should ... Separating it into objects should not change the shapes and fonts!
Created attachment 44077 [details] A DXF file to demonstrate this bug
Confirming with 2.2m8 - all text jumps around.
Reproducible. Reassigned.
AW: It's not a group, it's a metafile (look at bottom left when object is selected for more object info). BTW: With groups, it would not be necessary to break the group first, You also may 'enter' it, a speciality of OOo/SO. AW->SJ: Metafile breakup and text jumping around. Is this known?
Created attachment 44154 [details] a WMF file to test the behavior after separating the group
See the last file I added - it is a WMF file that after separating also distorts the texts - it does not change the texts' positions, but it completely distorts the fonts and makes them unusable. The only thing that remains "as was" is the stretched text in the middle. And the rectangle with thick border is not a rectangle anymore, but a combination of polygons ...
AW->honza_k: Yes, that's what metafiles contain. A Metafile is a record of an application painting something to a device. If the application (NOT OOo(!), the app You used to produce the WMF) creating the metafile paints rectangles spliiting them in funny smaller graphic pieces, then the metafile contains exactly that. WMF is NOT a high-level vector format. HTH.
If you create a drawing with OOo, turn it into a metafile (Convert to Metafile) and then "break" it, you get the same behaviour. No one else to blame. See also Issue 87039.
Target changed.