This topic is important for those who tried to use LibreOffice Calc to create templates to be used with Excel Report Generators based on Java JXLS library and/or Apache POI. I reproduced in Calc v.7.3.7.2 a problem that once has been discussed in a closed topic a long time ago: Infinite white boxes
LibreOffice’s .xlsx save is STILL NOT FULLY COMPATIBLE with Apache POI/JXLS for cell comments and anchor mapping.
- Tag substitution does NOT work if the anchor cell “does not exist” in sheet XML (you must type at least a dot, a space or anything else but leaving empty in the cell with the jx:area… comment).
- If you last save it as XLSX on Calc before using it as a JXLS template, JXLS will generate the final report with a huge white text box that covers all the report contents.
- If you last save it as XLSX on Microsoft Excel, JXLS will generate the final report normally, without creating any alien giant text box on top of your report.
I don’t know why it happens, I just wanted to share the workaround… and it unfortunately passes through having a MS Excel license in order to, at least, do the last save on the template file.