Have many small images on a docx file. The background images have wrapping style "Square" and the foreground images over them have wrapping style "In Front of Text" on Microsoft Word.
When opening this file with LibreOffice, the images are in a completely different order and have been moved around. In this particular case, the document does not make sense with the new layout.
Steps to Reproduce:
Haven't been able to reproduce this except for on the original file. Made a new file with images in the background and foreground with same wrapping style but it did not cause the same bug in Libre. Maybe there is a less obvious layout setting on the images that I do not know about.
Images are jumbled and the foreground images are no longer in front of the background images.
Image layout does not change and the foreground images are correctly positioned in front of the background images
User Profile Reset: No
This file is kind of a mess, but the layout of the images should not have changed.
Created attachment 166808 [details]
Original docx file with the images
Created attachment 166809 [details]
Expected Results on Word
Created attachment 166810 [details]
Actual Results on LibreOffice
Version: 18.104.22.168.alpha0+ (x64)
Build ID: 94e6e140491de31c0788c91af855a75a3bb12709
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Build ID: 9feb7f7039a3b59974cbf266922177e961a52dd1
CPU threads: 4; OS: Windows 6.29; UI render: GL;
Locale: nl-NL (nl_NL); Calc: CL
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Versie 22.214.171.124 (Bouw-id: 7545bee9c2a0782548772a21bc84a9dcc583b89)
Which version of Word did you use.. Document is a mess in many cases (Microsoft Word Online doesn't render it properly. Used a DOCX to PDF render (also wrong). DOCX conversion pack made a mess too.
So there must be something with the file in question
(In reply to Telesto from comment #5)
> @Jake Weilhammer
> Which version of Word did you use.. Document is a mess in many cases
> (Microsoft Word Online doesn't render it properly. Used a DOCX to PDF render
> (also wrong). DOCX conversion pack made a mess too.
> So there must be something with the file in question
I'm not sure which version this file was originally made on, but I am using Microsoft Word 16.33 (Mac) and it seems to be rendering and exporting to PDF just fine.
Seems it may be a compatibility issue between different versions of Word as well if it's not rendering on Microsoft Word Online, but I'm not well versed on the different versions/offerings of Word.
Created attachment 167977 [details]
Minimized example file
This file with only 3 images shows what's going on here:
- In Word the wrapping of paragraphs considers multiple images next to each other.
In Writer the first image is considered only, so that the empty paragraphs are behind the second image on the right.
Since in the original document there were five images spanning the whole width of the paper, this caused the ones after the second paragraph to wrap below this line of images.
The second line of images is anchored to these paragraphs so their vertical position is messed up in Writer, since now the paragraphs are a bit closer to the top of the page.
- Another problem is the horizontal positioning of the images that are given as "to column" in Word and imported incorrectly as to "Paragraph area". This is likely wrong, see my comment here:
Created attachment 167978 [details]
The minimized example file in Word and Writer 7.2master
Version: 126.96.36.199.alpha0+ (x64)
Build ID: 796c7f612603490dda9277ced0f6ab3cce3bc116
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
*** Bug 145474 has been marked as a duplicate of this bug. ***
MS Word 2010 with original_file.docx looks pretty much identical to comment 3.
*** This bug has been marked as a duplicate of bug 95623 ***