Created attachment 162970 [details] Example file from Writer Attached test file has 5 cm spacing after the A2 paragraph set, and a line shape anchored to it. Also the “No space between paragraphs of the same style” property is turned on. This makes the shape appear 5 cm below the A2 paragraph. Turning off the “No space between paragraphs of the same style” off the similar A3 paragraph makes the line shape appear with the same amount of spacing, but is laid out below A3. We think this behavior is wrong for interoperability reasons (not sure what ODF says though), since Word does this differently: - If “No space between paragraphs of the same style” is turned on, the shape has no spacing applied - If it’s turned off, the spacing of the paragraph is applied Opening a Word-made DOCX with these settings makes the shape appear halfway between A1 and A2 paragraphs with spacing applied – this would be an upcoming bugs topic. But the paragraph with “No space between paragraphs of the same style” off is imported correctly. Version: 7.0.0.1 (x64) Build ID: 04ba7e3f1e51af6c5d653e543a620e36719083fd CPU szálak: 4; OS: Windows 6.3 Build 9600; Felületmegjelenítés: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: hu-HU Calc: CL Also happens in: Verzió: 6.0.0.3 Build az.: 64a0f66915f38c6217de274f0aa8e15618924765 CPU szálak: 4; OS: Windows 6.3; Felületmegjelenítés: alapértelmezett; Területi beállítások: hu-HU (hu_HU); Calc: CL Version: 5.0.0.5 Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b Locale: hu-HU (hu_HU) Verzió: 4.0.0.3 (Build az.: 7545bee9c2a0782548772a21bc84a9dcc583b89)
Created attachment 162971 [details] Screenshot of the original document in Writer
Created attachment 162975 [details] Similarly formatted example from Word
Created attachment 162977 [details] Screenshot of the similarly formatted document in Word and Writer This is in Word 2013 and LO 7.0RC1
Regényi Balázs committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/713c6b1880ee06f8ff0aa869906058f247db6e3a tdf#134783 sw: fix contextual spacing position of shape It will be available in 7.1.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Verified. It's ok now. Version: 7.1.0.0.alpha0+ Build ID: abea0d6647c7f1f7e76c73c26cb80e6a67dc5111 CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded