Problem Saving in XML SPREADSHEETML Format unreadable by Excel

Hello,


I have a problem if I save a file with Aspose in xml format and try to open it with Excel.
Excel says that it cannot open it.
It appears there is a problem with the tag “Style”.

Here is my code,

public class MainClass {

public static void main(String[] args) throws Exception {
License license = new License();
license.setLicense(new FileInputStream(“ressource/Aspose.Cells.lic”));

Workbook wb = new Workbook();
Worksheet sheet = wb.getWorksheets().addSheet();
sheet.getCells().getCell(0,0).setValue(1);
wb.save(“Validation Test.xml”,FileFormatType.SPREADSHEETML);
wb.save(“Validation Test.xls”);
}
}

Thank you,

Hi,

Thanks for providing us the sample code.

After an initial test using your code we found the issue as you have described regarding Spreadsheetml file generated by Aspose.Cells for Java. We will figure it out soon.
Your issue has been logged into our issue tracking system with an issue id: CELLSJAVA-11911.

Thank you.


Hi,

Thank you for considering Aspose.

Please try the attached latest version of Aspose.Cells. We have fixed your mentioned issue.

Thank You & Best Regards,

It seems to work.


Thank you very much for the quick answer.

The issues you have found earlier (filed as 11911) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.