We have upgraded to the latest Aspose.Cells version 22.2 to solve issues with Pivot Tables (see workbook-containing-a-pivot-table-becomes-corrupted)
Now after this update we are facing other problems with other Excel files.
Gets Corrupted with Aspose.Cells.xlsx.zip (26.7 KB)
image.png (9 KB)
Path workbookPath = Paths.get(getClass().getClassLoader().getResource("file.xlsx").toURI()); Path result = Files.createTempFile(Paths.get("./target"), null, ".xlsx"); Workbook workbook = new Workbook(Files.newInputStream(workbookPath)); workbook.save(Files.newOutputStream(result), workbook.getFileFormat());
Works fine with Aspose.Cells 22.1 with the same file and same code