Apache OpenOffice (AOO) Bugzilla – Issue 124139
Spacing around Boolean Operators Grows with Each File Save
Last modified: 2014-01-29 10:07:20 UTC
Spreadsheet cell formulas that contain Boolean operators grow in length with each spreadsheet file save&close&open. This is caused by Boolean operators being padded with an extra leading and trailing space character at some point in each save&close&open iteration. This seems like a minor issue but it can cause real headaches in spreadsheet files that are opened and closed dozens of times a week that contain numerous complex Boolean formulas. This affects cell formulas as well as formulas used in conditional formatting. Example: New File... =(B10) AND (B11) First Save&Close&Open... =(B10) AND (B11) Second Save&Close&Open... =(B10) AND (B11) Third Save&Close&Open... =(B10) AND (B11) . . . Twentieth Save&Close&Open... =(B10) AND (B11)
Confirmed with AOO410m1(Build:9750) - Rev. 1560934 2014-01-27_04:11:25 - Rev. 1561585 Debian
Not only by save and reopen the file, this is happen on each editing of the cell in edit mode (F2 key).
There exist no operators AND or OR in ODFF. Use the functions AND() and OR(). I suggest to resolve to WONTFIX, see bug 104714. For details see bug 15821. *** This issue has been marked as a duplicate of issue 15821 ***
(In reply to Regina Henschel from comment #3) > There exist no operators AND or OR in ODFF. Then why no error message?
(In reply to Edwin Sharp from comment #4) > (In reply to Regina Henschel from comment #3) > > There exist no operators AND or OR in ODFF. > > Then why no error message? Because no one worked on it. If we want to keep these operators it would need a different formula name space than "of:=", or a change in the ODF specification. Making it clean or removing it, both are a lot of work and other areas are more important than repairing a not documented feature. The file passes a check against Relax-NG Schema, because the type of the table:formula attribute is string, but it is invalid OpenFormula syntax nevertheless.