[Libreoffice-bugs] [Bug 109259] FILESAVE: ODS vs XLS conditional formating

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 21 17:52:29 UTC 2017


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

--- Comment #1 from Daniel Mondot <dhrm77 at gmail.com> ---
Let me correct my earlier report.

I believe the change of color from green to yellow was probably due to using
"percentile" (which behavior I do not fully understand) instead of using
"Value".
When I use "value", there is no change of color.

So, it come down to losing conditional formatting when saving in specific
format:

When I save in .XLS, .UOS, >ODS or .DIF formats, the conditional formatting is
just completely lost.
When I save in .ODS format, it is only partially lost, if multiple consecutive
cells have the same format, only the first cell in each line shows that
formatting after reloading the file.
Example:
Lets say I have a color scale formatting on cell C403, and I duplicate it to
cells C403:N434, all the cells will show that color formatting.
If I go to Conditional Formatting > Manage, there is listing only for the cells
of column C.
There I can edit the entries and change it to say C403:N434
And only if I do that, when I save and reload the file, all the cells will have
the proper formatting.
So it's not really a problem of saving/restoring under .ODS format, but rather
that the information about the cells was wrong.

As proof of that, before I manually change the range of cells for a particular
conditional formatting, if I copy let's say column #2 to column 30, then column
30 will have no special formatting.

So, I believe the problem lies when I copy the formatting of a cell to a group
of cells spanning more than 1 column and more than 1 row.
If I copy a cell to more cells in the same column, it works
if I copy a column to multiple adjacent columns it works
but copying A1 to B2:F9 doesn't work, it only "appears" to work, as the cells
will be displayed correctly, but If I go to Formatting > Manage, I will see
that only the cells B2:B9 will have the formatting, and not C1:F9
So, if I save the file and reload it, the formatting of C1:F9 will appear to
have disappeared.

I hope this clarifies everything.

-- 
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/20170721/88620dc9/attachment-0001.html>


More information about the Libreoffice-bugs mailing list