Created attachment 174316 [details]
Positioning of the top left image side by side in Word and Writer
This is split off from bug 37315
The attachment 147135 [details] shows that layout in Word has changed with CompatibilityMode15.
In particular the vertical position of the left side images changed:
* the top one specifies a negative position, but is aligned to the top of the page, while in Writer it overlaps the top margin of the page, just like in CompatibilityMode <= 14.
* the bottom left one is positioned 12.77 cm below paragraph in Word but it does not overlap the bottom margin: however – were this value taken literally by Word – it should since it is anchored to the second paragraph and that is positioned below the top right image. As you can see, there is no 12 cm vertical space between the second paragraph and the top of the bottom left image.
In Word with CompatibilityMode<=14 and in Writer the 12.77 cm value is taken literally and the image overlaps the bottom margin a bit.
Steps to reproduce:
1. Open attachment 147135 [details] in Word and Writer, observe the positioning of the shapes on the left
Top left image overlaps the top margin, bottom left margin overlaps the bottom margin.
They should not overlap the top/bottom margin.
Version: 184.108.40.206.alpha0+ (x64) / LibreOffice Community
Build ID: d1f1f546b212ecd651146addeb328806bb270d5f
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Created attachment 174317 [details]
Positioning of the bottom left image side by side in Word and Writer
Created attachment 174318 [details]
The original bugdoc from bug 37315 saved in Word 2010 C14 mode for convenience. Same as the original.
Created attachment 174319 [details]
The C14 and C15 example files in Word 2019 side by side
Version: 220.127.116.11.alpha0+ / LibreOffice Community
Build ID: 7c1bad415ae48635dc67041c413bb7b76a530c22
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-07-05_06:55:03