Generate PDF to look like an HTML page?
How do I generate a PDF from in a s开发者_如何转开发tructured way so that the result looks like an HTML page? (Well formatted.)
- PDFBox. It may have all the stuff you need to create a well structured PDF files
- iText.
If you mean PDF form then there are many ways:
Use Adobe Acrobat (or a cheaper tool like PdfPen Pro)
Render XHTML as PDF using Flying Saucer renderer
Code by hand using iText (I wouldn't recommend this as it's very fiddly)
精彩评论