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

--- Comment #12 from Justin L <[email protected]> ---
This will be a bit complicated.

First, thanks for reporting this problem. There was a logic error in replacing
the function.  Proposed fix: https://gerrit.libreoffice.org/#/c/32112/

However, the following day, m_bBorderDist is marked as always being true so
this patch will not "fix" Newsletter_February2012.odt.

ODF specifies that if the border-distance is defined, that it should be
honoured, even without a border being present (see bug 41542). So the fact that
LO hasn't done that is really a bug.  This should only affect older documents,
since from at least LO3.6, removing borders zero's out the padding.  (So the
work around to fix the document is to define borders, apply, and then remove
borders.)

I'm trying to see if there is a way to identify an older document and set
m_bBorderDist to false in that compatibility case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to