Convert PDF to XLSX in Java | Aspose.PDF for Java


Does anyone have an example of using the Aspose to convert from PDF to xlsx?

Any help is Most appreciated.

Thank You in advance.


Thanks for contacting support.

Please follow the instructions specified over Convert PDF to Excel Workbook


Aspose.PDF for Java offers conversion of PDF to XLSX file format. In order to convert the document, please use following code snippet:

Convert PDF to XLSX using Aspose.PDF for Java

Document doc = new Document(dataDir + "input.pdf");
ExcelSaveOptions ex = new ExcelSaveOptions();
ex.setFormat(ExcelSaveOptions.ExcelFormat.XLSX); + "Testxlsx.xlsx", ex);