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

--- Comment #11 from Markus Mohrhard <markus.mohrh...@googlemail.com> ---
So the reason that I think that the bug is actually to allow STYLE in
conditional formatting is that conditional formatting functions are expected to
be side-effect free. The whole conditional formatting code is more or less
based around that idea.
Additionally it is absolutely an implementation detail how and when conditional
formatting rules are evaluated. Take as an example a conditional format formula
like STYLE("style1", 10, "style2") which does not what users would expect as it
would constantly apply style1. Even if we would change the code and fix the
loop that makes it constantly apply style1 it would immediately need to repaint
when we apply style2 and (as part of the implementation detail) evaluate the
conditional format formula which would force it to apply style1.

IMHO there are good reasons that something like this is not possible in MSO.
Our conditional format code is already way too complicated because of some
missing restrictions and I think restricting the use of STYLE would be a sane
one.

I still need to sleep one night and maybe talk to Eike or Kohei about it but at
least in my opinion it is the way to go.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to