I007839-20.pdf (116.9 KB)
Online converter can convert the file to xlsx correctly, but when I use the following code sample it only produces corrupted file.
Document doc = new Document(file.getPath());
ExcelSaveOptions options = new ExcelSaveOptions();
options.setInsertBlankColumnAtFirst(false);
options.setMinimizeTheNumberOfWorksheets(true);
options.setScaleFactor(0.9);
options.setUniformWorksheets(false);
options.setFormat(ExcelSaveOptions.ExcelFormat.XLSX);
doc.save(file.getPath(), options);