Is it possible to do .xlsx to PDF conversions using DOCX4J?
If so, could anyone provide me with some samples please?
If it isn't possible, what alternatives would you suggest?
I don't think you can use DOCX4j to convert your xlsx to PDF.
You just can use DOCX4j to manipulate Excel xlsx, but not PDF. So you also need a java lib for manipulating PDF, I recommond iText
Related
What ways are there to convert an RTF to PDF that contains a table in the document in Windows or Unix using Java?
The option we have tried here are:
ITEXT - But the table inside the rtf document is not coming properly once converted to PDF. In short the PDF doesn't contain the Table. Here is the code gist. ITEXT for rtf to pdf java code gist
POI - Does apache POI support RTF document parsing? But I found that it is not supported. POI support for RTF
TIKA - Using Tika I am able to read the document, but the table in RTFis not parsed correctly and I don't know how to convert it to PDF. TIKA java code for reading rtf
We have looked into other options. Is possible to develop or convert RTF to PDF with Java?
Other options we looked into are in this link
Yes, its possible. Take a look at JasperReports!
http://community.jaspersoft.com/project/jasperreports-library
There is also a good API available from Jaspersoft to code your custom PDF-engine and your custom datasource. Start with iReport (UI-Editor).
I have a Java application that uses Jasper to create docx. Jasper uses poi to export to docx. There are a few issues with the documents generated with poi and I was wondering if there are any good alternatives to poi. Apart from modifying the source code of Jasper, is there a way to link the new jar to Jasper so that it uses it instead of poi? If i write my own docx exporter can it be easily linked so that Jasper will use it? Does anybody know an article that explains how to link a custom jar (or an alternative jar) to Jasper?
In this post, it appears the author is converting Jasper's XHTML output into docx format using docx4j. Perhaps that results in a 'better' docx, without the effort of -rewriting Jasper's docx exporter?
I'm using IText libray for do a PDF. This works, but I need generate the same document, but this time in Excel (xls). There's a way to convert a PDF using GWT or IText? If not, how can I do this? I searched and I found a library called JExcel. What is better?
Thanks for attention and help!
Can you please let me know which java api (open source - Devlopment & Commercial) can be used to convert any file type (e.g. doc, docx, xls, xlsx, ppt, pptx) to pdf. Those files may contain text, image, graph,chart, style etc.
Thanks in advance.
You can user iText library for creating pdf documents, see: http://itextpdf.com/. For reading the doc, docx, xls, etc. files I suggest using apache poi library, see: http://poi.apache.org/
I need to convert an excel spreadsheet to PDF file. I looked for in the Web and I found that the best way to do this is using OpenOffice API, but it is not free.
Someone know any open source library for doing this?
Any examples code is appreciating
Apache POI can read Excel. iText can write PDF.