We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert PDF to XLSX using Java with Aspose.PDF - Table is missing in output

Hi Support team,

I am presently evaluating the free license and trying to convert a PDF to EXCEL using the Aspose java API. The generated excel is missing the tables from PDF.
Here is the PDF file for your reference. 97.pdf (61.1 KB)

Code
Document doc = new Document(“97.pdf”);
// Initialize ExcelSaveOptions
ExcelSaveOptions options = new ExcelSaveOptions();
// Set output format
options.setFormat(ExcelSaveOptions.ExcelFormat.XLSX);
// Save output file
doc.save(“97.xlsx”, options);
Please let me know why its not generate the tables inside the EXCEL

Best regards
Imran Pariyani

@pariyani

Thanks for contacting support.

Would you please make sure that you are setting license correctly before performing conversion. In case you do not have a license, you may please consider using 30-days free temporary license to evaluate API without any limitations. We have converted the PDF in our environment using a valid license and attached is the output for your reference.

ouput.zip (4.9 KB)

In case you have any issue with the generated output, please highlight it so that we can address it accordingly.