[Libreoffice-bugs] [Bug 138546] Writer: multi-column page formating reset when editing page style.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Dec 21 14:18:55 UTC 2020


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

--- Comment #6 from Justin L <jluth at mail.com> ---
The reason it is resetting to equivalent widths is because the total column
size is not the same as the page width size. So it resets to nActWidth, since
it is much wider.

    nActWidth = rSize.GetSize().Width() - rLRSpace.GetLeft() -
rLRSpace.GetRight() - rBox.GetSmallestDistance();
    if( m_xColMgr->GetActualSize() != nActWidth)

The problem is with GetSmallestDistance - which ends up being the right border
padding because // The smallest distance that is not 0 will be returned.

-- 
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/20201221/e64171b2/attachment.htm>


More information about the Libreoffice-bugs mailing list