[Libreoffice-bugs] [Bug 129758] New: FILEOPEN: RTF: paragraph borders inherited when style is overridden by undefined borders
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Jan 3 13:25:54 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=129758
Bug ID: 129758
Summary: FILEOPEN: RTF: paragraph borders inherited when style
is overridden by undefined borders
Product: LibreOffice
Version: 3.6.0.4 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: jluth at mail.com
Created attachment 156916
--> https://bugs.documentfoundation.org/attachment.cgi?id=156916&action=edit
tdf129631_lostBorders3.rtf: second paragraph should not have borders (Word
2003)
It surprised me, but ONLY defining a border colour (as a direct property) is
enough to to completely override everything about the style-defined borders.
However, LO just completely ignores border properties (in putBorderProperty) if
a NS_ooxml::LN_CT_PBdr_* is not defined.
Instead, it appears that a default none-border should be created when only a
partial border definition is specified. (That should be fairly easy to do - it
should do that almost automatically as long as a NS_ooxml::LN_CT_PBdr is
created.)
Border support was first introduced around LO 3.6 (commit
343b52ee76f1a88a27007319af644dcce76536cc), and it was already incorrectly
ignoring the none-border colour and simply inheriting everything from the
paragraph style.
--
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/20200103/8e2f3ab1/attachment.htm>
More information about the Libreoffice-bugs
mailing list