I need to convert xlsx documents to pdf format. I know that iText can save pdf documents and Docx4j can read and write xslx. In fact our application use both for building reports. But we have very difficult templates so I can't just read xslx(docx4j) and write it to pdf(iText). The formatting will be lost, so I need another conversion lib. I also heard about commercial libraries like (Jxcell ) but want to use open source solution.
Can anyone help me?
Does it have to be done in Java? If yes, maybe take a look at Apache POI
Otherwise, why not have a small native app that utilises a PDF Printer, and calls the relevant APIs to print the file directly to PDF? Surely Java is not really made for doing this kind of work...
For example here's a Non-Java framework for that: PDF Class Library from Solidworks