Created attachment 179502 [details] Example file from Word 2013 Attached RTF file contains an image that is positioned relative to page and to the right of column. The Layout in table cell option is also enabled. When opened in Writer the image moves out of the table, instead of being slightly vertically below the cells top border it is below the page margin. 1, Open attached file in Word and Writer, compare image vertical position (horizontal looks kinda ok). Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 6f39602ecb9b90795bfd4101273f90b16f17b6d6 CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: default; VCL: win Locale: en-US (hu_HU); UI: en-US Calc: threaded Jumbo Started in 6.2 with: https://git.libreoffice.org/core/+/0c91f8f839d36c8b5af272b1d3c835d2f4af6b65 author Miklos Vajna <vmiklos@collabora.co.uk> Mon Jul 16 22:04:02 2018 +0200 committer Miklos Vajna <vmiklos@collabora.co.uk> Tue Jul 17 09:03:42 2018 +0200 tdf#81943 sw RTF import: fix missing wrap in background for in-table shape Before this the image was placed inside the table, but not slightly below the top border and right of the left border, so not perfect just less bad.
Created attachment 179503 [details] The example file in Word and Writer master
I confirm it with Version: 7.3.3.1 (x64) / LibreOffice Community Build ID: 1688991ca59a3ca1c74bc2176b274fba1b034928 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 in camparison with Word 2016.
I'm afraid this never really worked. The timeline I'm aware of is: - this "started to work" after commit 015fd55c94b7b650ed8e572cafaf3b0f903b01b9 (tdf#96275 RTF import: fix anchor of shapes inside tables, 2016-05-10) - later serious side effects were discovered and the regression was reported, so 0c91f8f839d36c8b5af272b1d3c835d2f4af6b65 (tdf#81943 sw RTF import: fix missing wrap in background for in-table shape, 2018-07-16) partially reverted things It makes sense to fix this, but it never worked in a clean way, I think. Adjusting keywords accordingly.