Description: A document with grouped shapes / drawings created with Microsoft Word has the drawings / shapes incorrectly positioned when opened with LibreOffice Writer. The document has 12 shapes / drawings grouped together, the uppermost drawings should be on top of the page and the downmost drawings should be on the bottom on the page (see "PDF created with Word.pdf"), but LibreOffice Writer puts them almost an inch from the top and from the bottom (see "PDF created with LibreOffice Writer"). Steps to Reproduce: 1. Open the "PDF created with Word.pdf" to see how the Word document is supposed to look like. 2. Open the "Word original document.docx" with LibreOffice Writer. 2. Verify the shapes / drawings positions differ from the PDF generated with Word. Actual Results: The "PDF created with LibreOffice Writer.pdf" shows how the shapes / drawings appear inside LibreOffice Writer. Expected Results: LibreOffice should show the shapes / drawings as in "PDF created with Word.pdf". Reproducible: Always User Profile Reset: No Additional Info: I can fix this by using Microsoft Word to ungroup the shapes / drawings in the original document and saving, LibreOffice Writer opens the document and shows the shapes in the positions they should be (see "Word fixed document.docx"). However, not everyone has Microsoft Word to edit (or fix) the document, so this workaround is less than ideal.
Created attachment 181576 [details] Original document created with Microsoft Word
Created attachment 181577 [details] PDF created with Word, based on the original document
Created attachment 181578 [details] PDF created with LibreOffice Writer, based on the original document
Created attachment 181579 [details] The fixed document created with Word This document was fixed after ungrouping all the shapes (the uppermost and the downmost), then regrouping only the downmost shapes to put them on the correct place.
Sorry, I forgot to say the version I am using: Version: 7.3.4.2 (x64) / LibreOffice Community Build ID: 728fec16bd5f605073805c3c9e7c4212a0120dc5 CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: pt-BR (pt_BR); UI: pt-BR Calc: threaded Jumbo
I confirm it with Version: 7.3.5.2 (x64) / LibreOffice Community Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01 CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL Don't know why, but as far as I can see, height of grouped shapes in LO writer is just 27,95cm (in Word it is 29,7). Just change height to 29,7 and you have the expected result.
@Dieter, what is the page size when you open the original document created with Microsoft Word? In my computer, it opens as an A4 (21,0cm x 29,70cm). Maybe Word is stretching the paper size **and** the grouped shapes to be compatible with the default paper size in Brazil, which is A4.
(In reply to João Paulo from comment #7) > @Dieter, what is the page size when you open the original document created > with Microsoft Word? In my computer, it opens as an A4 (21,0cm x 29,70cm). Page size is 21,0 x 29,7 in word and writer. Height of grouped shapes is 27,95 in writer. I'm not so familiar with word, but it seems to me, that shapes are not grouped in Word at all. So perhaps duplicate of bug 136328. But I can't assess this finally.
Created attachment 185875 [details] The example file in Word 2016 and Writer The height of the grouped shape is 100% of the page, 29.7 cm in Word, which becomes 27.95 cm in Writer. This is the same symptom as in bug 135254
*** This bug has been marked as a duplicate of bug 135254 ***