This is the library for convert excel XLS
and XLSX
files to HTML
or PDF
formats
Based on:
- jxls - for convert XLS,XLSX to HTML
- itext - for convert HTML to PDF
new Xls2HtmlConverter(
new FileInputStream("source.xlsx"), // source excel file
new FileOutputStream("target.html") // result HTML file
).convert();
new Xls2PdfConverter(
new FileInputStream("source.xlsx"), // source excel file
new FileOutputStream("target.pdf") // result PDF file
).convert();
This is beta. Do not use this on production!