XML to DOC to PDF
Posted
by Max
on Stack Overflow
See other posts from Stack Overflow
or by Max
Published on 2008-12-05T15:24:24Z
Indexed on
2010/04/12
14:53 UTC
Read the original article
Hit count: 525
what is the easiest(and fastest) way to perform this kind of transformation: "Data in XML" to "Some MS Word 2003 Supported format" to PDF using Java?
My first guess was to fill the template with XML data (using Placeholders for example) and then save it and convert it to PDF. But I can't just put placeholders to DOC files, and I can't convert from some other Word formats to PDF...
My primary task is to convert XML Data to PDF allowing users to change the PDF on-demand. The best way to change the PDF on-demand seems to give user some kind of MS Word readable document, and then convert it back.
There are 2 main problems with this task: 1) I can't use OpenOffice for conversion. 2) System should be able to convert ~1 page of table-based document per 1 second on 2Ghz Core. 3) RTF does not provide enough styling, so some more complex format should be used.
Thanks in advance.
© Stack Overflow or respective owner