<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 - conditional format not working due to direct formating with style:data-style-name"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=108086">108086</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>conditional format not working due to direct formating with style:data-style-name
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.3.3.2 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>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>oliver.brinzing@gmx.de
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=133576" name="attach_133576" title="demo_conditional_format_aoo">attachment 133576</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=133576&action=edit" title="demo_conditional_format_aoo">[details]</a></span>
demo_conditional_format_aoo
i have several spreadsheet documents originally created with aoo, where zero
values will be hidden using conditional formating - but LO will show zero
values.
steps to reproduce:
- open attached spreadsheet with LO
-> cell A2 will show 0,00
- open same spreadsheet with aoo412
-> cell A2 is empty
the problems is caused due to an existing "style:data-style-name="N4""
attribute:
<office:automatic-styles>
<style:style style:name="ce3" style:family="table-cell"
style:parent-style-name="DecimalNumber" style:data-style-name="N4">
<style:map style:condition="cell-content()=0"
style:apply-style-name="HideEmptyValues"
style:base-cell-address="Tabelle1.A2"/>
</style:style>
</office:automatic-styles>
the attribute seems to override the conditional formating data 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>