Created attachment 48870[details]
Sample Document.
Open the Attached Document.
Only one Rectangle is drawn which is at the bottom of the screen(class1)
Class2 and Class3 should also have a rectangle drawn around them.

Created attachment 48871[details]
What I see on my screen when opening first attachment.
I'm sorry, but even though there is likely a problem, I do not think you have provided enough info. Seeing as there is a display problem with LibreOffice, it would have been better if you could have mentioned on which Office Suite for which OS did the rectangles appear properly, and provided an attachment image of the proper appearance so we can have a better idea of what the problem really is. Because it is very hard to verify something that you cannot see. Mentioning that rectangles do not display properly is not good enough to diagnose the situation.
Here is what I see: One rectangle is drawn across Class1, 2 and 3. I do not think this is what you meant, because there is no rectangle near the bottom. Can you confirm?

Not sure if this is related but I've noticed if I create an EMF file with a
graphics program I can successfully add it to a .odt document under LibreOffice
for Windows. If I then open the same document with LibreOffice Linux/Ubuntu I
see a completely garbled odd looking picture where the original image was
added.
On saving the document under LibreOffice Ubuntu the image is simply removed
from the document. The image is not linked, but inserted. I can reproduce this
on demand.
Originally found in:
Ubuntu: LibreOffice 3.3.2
OOO330m19 (Build:202)
tag libreoffice-3.3.2.2, Ubuntu package 1:3.3.2-1ubuntu2~lucid1
and
Windows: 3.3.4
The EMF graphic was created by SmartDraw VP in Windows and is a network toplogy
diagram, not a chart.
I use Linux or Windows interchangably and OpenOffice didn't seem to suffer from
this difference in EMF file handling. I've tried Ubuntu 3.4.4 and still see a
garbled EMF diagram. If I edit the document only on a Windows LibreOffice the
EMF diagram is not mangled. If I import the same EMF diagram into Linux LibreOffice I see the same mangling.

Created attachment 56579[details]
Super/sub script example
Other EMF import bugs (3.5.0 rc1, Windows XP):
super/subscript is mangled when the EMF is reduced to objects with modify->break. On initial import of EMF it looks OK, things only go wrong when the EMF is converted to LO objects.

Created attachment 56580[details]
Wide lines drawn as narrow, rotated text misplaced
Other EMF import bugs (3.5.0rc1 Windows XP)
1. On EMF input of this example several of the wide lines are drawn very narrow, probably one pixel wide. Internally they show a width of zero. This happens, for instance, with the 72pt and 36pt lines, but not the 144pt (180px) line.
2. On modify->break rotated text is offset from the correct position.
Note, this example was designed for testomg EMF insertion into PPT2003. To get the right text sizes first set the LODraw page size to 10.84" x 7.5", margins all zero. Import the EMF, then stretch to fit the page. Modify->break. Font sizes will then be as marked in the example.
On Windows use "preview" to see what this EMF should look like.

(In reply to seven from comment #23)
> EN: In LibreOffice 4.4.0.3 it is fixed. Please check and close bug
Not fixed. LO 5.0 opens the original attachment 48870[details] the same as in the comment.
(In reply to Alistair Leslie-Hughes from comment #21)
> The borders aren't drawn at all.

Created attachment 117162[details]
Comprehensive EMF test case, most recent version
For those of you working on EMF support, here is my most recent test file, which exercises most of the features of that file type.

Not sure if this bug report still must be seen as a regression. Indeed regression keyword has been added for version 3.5 beta 1 that did not display the image at all. This problem has been fixed and we are back to the original bug description.
--> removing regression keyword.
Best regards. JBF

(In reply to Bartosz from comment #32)
> What kind of EMF editor are you using?
Was that directed at me? The test files I post are from libUEMF
https://sourceforge.net/projects/libuemf/
That library is used by inkscape for importing/exporting EMF/WMF on all platforms. So to the extent I use an "EMF editor" it is Inkscape. For debugging EMF files there is a text dump program in libUEMF which works everywhere. For Windows platforms one can also use Joseph Newcomer's excellent "MetafileExplorer" program.