Created attachment 160483 [details] Example file from Word (extended version of the #122342 bugdoc) After bug #122342 is fixed, it seems the “Auto” setting for Spacing after paragraph property is ignored in too many situations when it is used in paragraphs in / around tables. Steps to reproduce: 1. Open attached document in Writer. It has a few paragraphs formatted with CustomStyle style that contains both numbering and the “Auto” setting for spacing after paragraphs Actual results: Spacing after is converted to 0 in all CustomStyle -formatted numbered paragraphs, but it should not be if: - The paragraph is followed by a table (#3) - The paragraph is the last item in a table (#5, #6, #7) - The paragraph is followed by a non-numbered paragraph (#8) Expected results: Same appearance as in Word. LibreOffice details: Version: 7.0.0.0.alpha1+ (x86) Build ID: 7e257697f0006d8247a23ac91... CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; Locale: hu-HU (hu_HU); UI: en-US Calc: threaded
Created attachment 160484 [details] Screenshot of the original document side by side in Word and Writer
I confirm ith with Version: 7.0.0.0.alpha1+ (x64) Build ID: 99c337d1d3831ce9d2c7dc1cbff713f4ac49d6ac CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; Locale: de-DE (de_DE); UI: en-GB Calc: CL in comparison with Word 2016 Little correction for actual results: - The paragraph is the last item in a table cell (#5, #6, #7)
tdf#132802 DOCX import: fix list bottom auto margins of the last list item, when its numbering based on the paragraph style. Before tables, table rows and before paragraphs without numbering or with different numbering list items got a regression from commit 9a132c8fab7d4d70b91e5ed92429c70a0466afcb (tdf#122342 DOCX import: fix bottom auto margin in lists)
László Németh committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/99b2d53346d4b01b491cd1f7fae3304ac0572e12 tdf#132802 DOCX import: fix list bottom auto margins It will be available in 7.0.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. Version: 7.0.0.0.alpha1+ Build ID: b1e396d86655a0131498a4691dd8069ea76c3477 CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3; Locale: ro-RO (ro_RO.UTF-8); UI: en-US TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-05-15_04:58:38 Calc: threaded