Converting PDF to Excel creates xlsx file with invalid font since Aspose.PDF 23.8


I use Aspose.PDF for Java to convert a pdf file to xlsx (Excel) file.
Since Version Aspose.PDF 23.8 something is wrong with font in the created xlsx file.
With Aspose.PDF 23.7 and before it works fine.

When I open the file with Excel (Office 2016) I get the following message:
“Reparierte Datensätze: Schriftart von /xl/styles.xml-Part (Formatvorlagen)”
In English: Repaired Records: Format from /xl/styles.xml part (Styles)

When I open the file with Aspose.Cells I get an error:
com.aspose.cells.CellsException: Font size is out of range.

Code I use to create the xlsx file:

String file = “src/test/resources/input.pdf”;
try ( Document document = new Document(file); )
ExcelSaveOptions saveOptions = new ExcelSaveOptions();
saveOptions.setFormat(ExcelFormat.XLSX);“src/test/resources/result.xlsx”, SaveFormat.Excel);

I attached the input.pdf file.
input.pdf (182.7 KB)

Thanks in advance.

Thank you for writing and providing the data. When checking in our environment, the problem was reproduced. I’ll create a task for the development team.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-55666

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

It is expected to be fixed in version 23.11.

The issues you have found earlier (filed as PDFNET-55666) have been fixed in Aspose.PDF for .NET 23.11.