Convert Spreadsheet to PDF in xlsx4j
Aspose.Cells - Convert XLS to PDF
PDF documents are widely used as a standard format of exchanging documents between organizations, government sectors and individuals. Software developers are often asked to device a way to easily convert Microsoft Excel files into PDF documents. Aspose.Cells supports this features.
Workbook workbook = new Workbook(dataDir + "workbook.xls"); //Save the document in PDF format workbook.save(dataDir + "AsposeConvert.pdf", SaveFormat.PDF);