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,