[Libreoffice-bugs] [Bug 50068] Incorrect spacing above paragraph on second column of section

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Dec 27 20:04:26 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=50068

--- Comment #11 from Justin L <jluth at mail.com> ---
I'd better walk away from this bug, or else I'll get into deep trouble.

For some reason, the section-frame itself gets the upper value from the first
paragraph in sectfrm.cxx   SwTwips nUpper = CalcUpperSpace(); So that is why
all of the following columns use that as their "zero" height.

Notes for whoever decides to tackle this:
-HasParaSpaceAtPages is a big loop - moving outward until a condition is
satisfied. So it is VERY hard to make a change here that doesn't have side
effects.
-make sure you also test against multiple pages because the first page is
treated differently ( IsPageFrame() && !GetPrev() ).
-

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181227/a29d0c13/attachment.html>


More information about the Libreoffice-bugs mailing list