<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:libreoffice@nisz.hu" title="NISZ LibreOffice Team <libreoffice@nisz.hu>"> <span class="fn">NISZ LibreOffice Team</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - FILESAVE MSExcel 2007-365 conditional format selected style is lost after closing and reopening on libreoffice-6.3.2.2-snap1"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=128038">bug 128038</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>NOTABUG
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - FILESAVE MSExcel 2007-365 conditional format selected style is lost after closing and reopening on libreoffice-6.3.2.2-snap1"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=128038#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - FILESAVE MSExcel 2007-365 conditional format selected style is lost after closing and reopening on libreoffice-6.3.2.2-snap1"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=128038">bug 128038</a>
from <span class="vcard"><a class="email" href="mailto:libreoffice@nisz.hu" title="NISZ LibreOffice Team <libreoffice@nisz.hu>"> <span class="fn">NISZ LibreOffice Team</span></a>
</span></b>
<pre>(In reply to stdedos from <a href="show_bug.cgi?id=128038#c3">comment #3</a>)
<span class="quote">> I don't completely understand how this bug works, so, I am sorry if my
> description is lacking
>
> On your sample file:
>
> * Remove the '_1' from the name of the style
> * You may validate that the Conditional Style reference name is updated
> * Save, Close, Re-open
> * There will be now 2 styles (one with '_1', one without)
> * You may validate that the Conditional Style reference name is updated to
> the '_1'</span >
This happens because of the different concepts of storing conditional
formatting in ODS and XLSX files.
Calc uses styles to define conditional formatting settings and stores the used
condition+style in ODS files.
Excel on the other hand sets a bunch of direct cell formatting settings and
stores those along the condition.
This is why on opening an XLSX file Calc autogenerates a ConditionalStyle_N
style, to bridge these differences.
If you change the name of this, that's saved as a new cell style but on the
next opening Calc autogenerates another set of ConditionalStyle_N styles
because of the conditional formatting.
Inconvenient as it is, this is not a bug but a difference in file formats and
different applications internal workings. What you see should be the same
regardless.</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>