[Libreoffice-bugs] [Bug 117715] Settings from Conditional formatting shouldn't overwrite direct formatting (only number formatting remained in Comment 4)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Oct 26 18:40:40 UTC 2019


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

--- Comment #10 from Eike Rathke <erack at redhat.com> ---
Looking at related code (sc/source/core/data/patattr.cxx
ScPatternAttr::GetFont() (and ScPatternAttr::FillToEditItemSet())) it seems to
be on purpose that conditional formatting takes precedence over hard
attribution. As a user I would expect exactly the opposite though, because as
is there is no way to override formatting for some cells in a range of
conditionally formatted cells.

But also Excel lets conditional formatting take precedence over hard
attribution, citing from
https://support.office.com/en-us/article/Manage-conditional-formatting-rule-precedence-E09711A3-48DF-4BCB-B82C-9D8B8B22463D

"What happens when a conditional format and a manual format conflict?
For a range of cells, if a formatting rule is evaluated as True, it takes
precedence over an existing manual format."

Hence, changing the current behaviour is not a good idea.
We should rather re-evaluate if the number format of a conditional format
shouldn't also take precedence over a manual/hard number format.

What does Excel do for number formats there? I guess the same, no exception.

-- 
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/20191026/73eb6236/attachment.html>


More information about the Libreoffice-bugs mailing list