Created attachment 165777 [details]
Example file from Word
This is a followup to bug #134784
Shape paragraphs if containing direct formatting (in this example: 6 pt spacing after) get a 12 pt (0.42 cm) spacing before, even if there is none set in direct formatting/style.
Before bug #134784 was fixed this happened to the first paragraph of text in shape, now only happens on second and later paragraphs.
Steps to reproduce:
1. Open attached document
Second paragraph has 0.42 cm spacing before.
Third paragraph does not have any direct formatting and no extra spacing before either.
Second paragraph should not have spacing before.
Version: 184.108.40.206.alpha0+ (x64)
Build ID: 52a49f9e480ca03e231cfda82640a928393131c9
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Created attachment 165778 [details]
Screenshot of the original document side by side in Word and Writer
László Németh committed a patch related to this issue.
It has been pushed to "master":
tdf#136955 DOCX import: fix shape paragraph margins
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:
Affected users are encouraged to test the fix and report feedback.
Version: 220.127.116.11.alpha1+ (x64)
Build ID: d3cee4f3839e22754e167e89d25acd6ccacf0b6e
CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU