Bug 71410

Summary: : Resultant object size does not match original DRAW object size
Product: LibreOffice Reporter: Jack Patteeuw <jack.patteeuw>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: jbfaure
Priority: medium    
Version: 4.1.2.3 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description Jack Patteeuw 2013-11-09 00:16:06 UTC
I am trying to insert an ODG into a ODT using Insert -> Object -> OLE Object -> Create from file.  The resultant "physical size" on the page (paper) of the object in the ODT is NOT the same as the original ODG !  Of course grabbing a resize handle in Writer "stretches" the contents out of shape.  If the resultant object is selected (green dots on), Format -> Object has Position and Size disabled. 

Example 1, the ODG is 1 page which is defined as 6.0"x2.0" with 0,0,0,0 margins. When it is inserted it is clearly much taller than 2.0". 

Example 2, the ODG is 1 page, A4 size with A4 default margins. When I try to insert it into my ODT it fills the width of the Letter size page, but the length is much too small. 


These examples are posted in Nabble. http://nabble.documentfoundation.org/Size-of-an-ODG-inside-of-an-ODT-td4080004.html
Comment 1 Jean-Baptiste Faure 2013-11-24 21:54:46 UTC
Indeed the size of the OLE object in the text document is not the same as the size of the page of the original odg file. If you double-click on the OLE object to edit it, you can see that you did not inserted a graphics but an odg object that you can resize without changing the size of the drawing; see the gray area around the drawing, the scrollbars and the rules. In other words, you have an edition window on the drawing, not only the drawing.

So you are using an over-complicated method to insert a drawing in a text document. To have exactly the same size for the drawing in the odg file and for its copy in the odt file, I think the best method is the following:
1/ in the odg:  ctrl+A to select all
2/ right click and choose group
3/ ctrl+C to copy
4/ go to the odt file and ctrl+V to paste.

So I am closing this bug report as NotABug

Best regards. JBF