There are many Open source packages that can be used for dynamic pdf generation in java viz. itext, fop, pdfbox.
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted
0
PDFBox is not particularly useful for creating arbitrary PDFs; iText is, but it would be a lot of effort to use its API to create PDFs mirroring arbitrary HTML pages. If you're creating CSS-styled XHTML, then the FlyingSaucer library might fit the bill.
PDFBox is not particularly useful for creating arbitrary PDFs
what do you mean by that?
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted
0
PDFBox's API makes it very hard to create PDF files that correspond to arbitrary HTML files, because it does not have high-level APIs for various HTML constructs, like tables. That would make it very hard to use for this.