https://bugs.freedesktop.org/show_bug.cgi?id=42897
--- Comment #4 from Markus Mohrhard <[email protected]> --- So I propose to just add a warning. The problem is that we allow formulas in this place and a string without "" is a column/range label which might break old systems if we just change it. We are working on deprecating and possibly removing column and row labels but this will take quite some time. Until then I propose to just issue a warning that this results in something the user might not expect. This has the additional benefit that we don't mess around with the formula compiler which is a huge pain in the long run. Code pointers: <moggi> [18:40:55] Renato_Ferreira: so there is a ScSimpleFormulaCalculator (in sc/inc/simpleformulacalc.hxx) that you can use to see the result of a formula <moggi> [18:42:00] Renato_Ferreira: now the idea is to add an handler to the edit that calculates the input in sc/source/ui/condformat/condformatdlgentry.cxx whenever the content of one of the edit boxes changes <moggi> Renato_Ferreira: I would start with a simple label below the edit box <moggi> Renato_Ferreira: there is the Edit::SetModifyHdl for registering a handler that listens to changes in the edit <moggi> Renato_Ferreira: maybe check the range name dialog that does something similar <moggi> Renato_Ferreira: sc/source/ui/namedlg/namedefdlg.cxx -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
