I need to convert an excel file (xls, xlsx) to a PDF, but there must be a better solution. The following example might be suitable for me, but I'm not sure:
https://www.grapecity.com/en/blogs/use-excel-api-to-convert-spreadsheets-to-pdfs-in-java
I didn't find good posts and answers here, someone has some better examples?
Java saves xls file as PDF
I simply need to convert Excel to PDF using Java in the best and most straightforward manner possible without having to read the entire Excel file.
I discovered this example, which satisfies my requirements completely, but I am unable to use it due to the license:
https://kbdeveloper.qoppa.com/sample-java-code-to-convert-excel-to-pdf-using-jofficeconvert/