Unable to open BIRT generated xls file in MS Excel #1506
Replies: 5 comments 2 replies
-
Independent from the issue, |
Beta Was this translation helpful? Give feedback.
-
The version 4.4.2 includes the old excel-prototype of BIRT which produce xml-excel. But at the end this file type wasn't never a normal file type of xls or xlsx. And excel verify the content and compare it with the extension. XLSX is also the better version because some features of BIRT for excel will only supported on XLSX and not longer for XLS. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for your suggestions. |
Beta Was this translation helpful? Give feedback.
-
AFAIK you can use the Spudsoft excel emitter with 4.4.2; it's just a matter of configuration. What we did was basically:
The software was available at bitbucket, but it disappeared a long time ago. I won't help you more than this about how to configure BIRT 4.4.2 with the Spudsoft emitter. Remember that the Excel "alert" is really just a warning; I'm pretty confident that Excel will show the content if you click "Yes". The only Excel file format that is "future-proof" for the near future is XLSX. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I am using BIRT 4.4.2 with below render option for excel to generate the xls file.
EXCELRenderOption options = new EXCELRenderOption();
options.setWrappingText(false);
options.setOutputFormat("xls");
While opening the file I am getting the warning message as
The file format and extension of 'Statement.xls' don't match. Files may have been corrupted or not safe. Please do not open unless you trust the source. Do you still want to open it?
This problem prevents the file from being uploaded into the banking facilities to create bank transfers.
Please assist me in fixing this problem.
Beta Was this translation helpful? Give feedback.
All reactions