Boolean values are changed when opening and saving excel workbooks.
I have attached sample workbooks that I created using Excel. In the first cell I typed in "TRUE", in the cell below "=TRUE". Both display as "TRUE" in Excel (see screenshot). When opened in LibreOffice, both display as "1". When saving as "savedInLibreOffice" to xls format from wihtin libreoffice again, the cell contents are changed as can be seen on the screenshot.
This is an issue since we encountered this when programmatically processing excel documents and values from boolean cells could not be evaluated after making changes in LibreOffice even though the sheet containing the boolean values had not been altered (only the text of a single cell on another sheet had been changed).
description of screenshot:
top: document "savedInExcel" opened in Excel (left) vs LibreOffice (right)
bottom: document "savedInLibreOffice" opened in Excel (left) vs LibreOffice (right)
LibreOffice version: LibreOffice Version: 220.127.116.11 (same issue with 18.104.22.168)
Excel version: Microsoft Excel for Mac Version 16.29.1
Steps to Reproduce:
1. Open attached workbook "savedInExcel.xlsx" in Calc
2. Save again in xlsx format
3. Compare with original (preferrably in Excel if available)
Cell A1 content changed from "TRUE" (no '=') to "=TRUE()" (added '=' and '()')
Cell A2 content changed from "=TRUE" to "=1"
cells contents should not change
User Profile Reset: No
[Information automatically included from LibreOffice]
[Information guessed from browser]
OS: Mac OS X (All)
OS is 64bit: no
Created attachment 154596 [details]
original file saved in excel
Created attachment 154597 [details]
file saved in LibreOffice
Created attachment 154598 [details]
> When opened in LibreOffice, both display as "1".
> Cell A1 content changed from "TRUE" (no '=') to "=TRUE()" (added '=' and '()')
> Cell A2 content changed from "=TRUE" to "=1"
both cells use default cell format, after changing cell format to "Boolean Value" both cells display "TRUE", but cell A1 is still =True(), and A2 is =1
Dear Axel Howind,
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/
If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.
Please DO NOT
Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/
2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword
Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa
Thank you for helping us make LibreOffice even better for everyone!
*** This bug has been marked as a duplicate of bug 122098 ***