<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - FILEOPEN: RTF: paragraph borders inherited when style is overridden by undefined borders"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=129758">129758</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>FILEOPEN: RTF: paragraph borders inherited when style is overridden by undefined borders
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>3.6.0.4 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jluth@mail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=156916" name="attach_156916" title="tdf129631_lostBorders3.rtf: second paragraph should not have borders (Word 2003)">attachment 156916</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=156916&action=edit" title="tdf129631_lostBorders3.rtf: second paragraph should not have borders (Word 2003)">[details]</a></span>
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - FILEOPEN: RTF: paragraph borders deduplicated away if color changes"
href="show_bug.cgi?id=129631">tdf129631</a>_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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>