Hi,
Thanks for your posting and using Aspose.Cells.
Please elaborate your issue more with sample code and screenshots. Also, provide us your source files.
We will look into your issue and help you asap.
Dear Shakeel,
The problem might be the separator.
Hi JP,
Hi,
Thanks for using Aspose.Cells.
Please change the following line of code
resultBook.save(response.getOutputStream(), new XlsSaveOptions(SaveFormat.XLSX));
into
resultBook.save(response.getOutputStream(), new OoxmlSaveOptions(SaveFormat.XLSX));
and see if it makes any difference.
Dear Shakeel,
Hi,
Thanks for your posting and using Aspose.Cells for Java.
We were able to see the issue between Ms-Excel and OpenOffice output files. Below is a screenshot for your reference.
We have logged this issue in our database. Once the issue is resolved or we have some other update for you, we will let you know asap.
This issue has been logged as CELLSJAVA-40454.
Screenshot:
Hi,
Thanks for using Aspose.Cells.
The default value of OoxmlSaveOptions.ExportCellName is false in the old version, then it increases the performance and reduce the file size when creating large file without exporting series cell name.
MS Excel supports such file, but it seems that OpenOffice Calc could not read such file fine.
There are two solutions now:
a) Please try the latest version. We have changed the default value as true to save the standard xlsx file.
b) If you do not want to update, please change your codes as the following:
Java
OoxmlSaveOptions saveOptions = new OoxmlSaveOptions(SaveFormat.XLSX);
saveOptions.setExportCellName(true);
resultBook.save(response.getOutputStream(), saveOptions);
Dear Shakeel,
Hi,
Thanks for your posting and using Aspose.Cells.
We are pleased to know your problem is resolved now. If you face any other issue, please feel free to post, we will be glad to help you asap.