Created attachment 150636 [details]
comparison MSO 2010 and LibreOffice 6.3 Master
Steps to reproduce:
1. Open attachment 97319 [details] from bug 77411
2. Go to page 2
-> Left section is shifted to the left, making the bullet list to look like it doesn't have indent. See attached screenshot
Build ID: 040a54d89e8ca33171e86647ced8dc58efd85fbe
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
[Bug found by office-interoperability-tools]
Regression introduced by:
author Justin Luth <firstname.lastname@example.org> 2019-01-08 18:14:52 +0300
committer Justin Luth <email@example.com> 2019-01-11 04:08:46 +0100
commit 8d4a7b17e60aa889d1a78da47630aae2d1c1513c (patch)
parent a2d2f0b30b75093b6ab517349f6db0649314495f (diff)
writerfilter: import section margins and writingMode
Bisected with: bibisect-linux64-6.3
Adding Cc: to Justin Luth
super yuck. This is caused by the footnote creating fake page styles (Converted2 and Converted3) and those fake page styles use default margin values, resulting in a negative margin when there should be a section margin of 0. I'll bet footnotes mess up lots of page style stuff.
Created attachment 150725 [details]
endingSectionProps.docx: document showing the need for section indents
It is safe to do a partial revert of the section indent - this never worked before, so it won't be a regression.
The problem is that we don't know what page style underlies this section - and thus can't tell how much to indent. Because the endnote is interjecting a fake page style, we can't just assume the margins of the last page style seen. Probably endnote sections need to be identified, and the inherit function needs to skip over these. Preferably, they won't show up as actual page styles either...
Justin Luth committed a patch related to this issue.
It has been pushed to "master":
tdf#124637 writerfilter: partially revert import section margins
It will be available in 6.3.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.
Leaving this issue open since the title is still accurate - section margins still need work. Use the document in comment 3 instead. See the patches for code pointers.
*** Bug 126035 has been marked as a duplicate of this bug. ***
The example file in bug #98480 also suffers from this problem.