Since the first release of pdfOffice, we have received a growing number of customer requests to support conversion of .xlsx and .xls spreadsheets to PDF along with the other Office document formats pdfOffice supports. We have been working hard to include spreadsheet support with the quality and accuracy our customers would expect, and with the release of pdfOffice 2.0.1 we are pleased to announce this has now been implemented.
We have provided iText users a simple way to convert spreadsheet files to PDF by simply calling the
OfficeConverter#convertOfficeSpreadsheetToPdf method. This method will convert your Office spreadsheet into a PDF file.
We have also added additional functionality by providing users a property class named
OfficeSpreadsheetConverterProperties to configure conversions with user defined properties.
An example of converting a spreadsheet in .xls format to PDF can be found below: