- Free to use commercially
- Works like iText i.e..
- input: URL of webpage (http://stackoverflow.com).
- output: Downloadable PDF file
- Supports html with colors and images
- Except iText as it comes under the AGPL license
Asked
Active
Viewed 1,646 times
0
manurajhada
- 5,142
- 3
- 23
- 43
-
If it's an option, you can use iText 2.0.8, which comes under LGPL license – BackSlash Feb 14 '14 at 08:44
-
go to this link. that is good solution for you http://stackoverflow.com/questions/358975/is-there-any-java-library-for-converting-document-from-pdf-to-html – Putra L Zendrato Feb 14 '14 at 08:45
-
@BackSlash I am not sure but does iText 2.0.8 supports css3? – manurajhada Feb 14 '14 at 08:50
-
@user3292721 the question you related is about pdf to html. – manurajhada Feb 14 '14 at 08:52
-
@manurajhada I don't know: iText 2.0.8 was released in 2008 but I don't know when CSS3 got supported by all major browsers, so I don't know if it's supported. – BackSlash Feb 14 '14 at 08:55
-
For technical and legal reasons, you should NOT consider using 2.x versions of iText. See http://itextpdf.com/salesfaq (section called *Why shouldn't I use itext 2.x (or iTextSharp 4.x)?*) – Alexis Pigeon Feb 14 '14 at 11:21
2 Answers
0
Apache FOP can generate PDF from html content.
Jayan
- 17,353
- 13
- 86
- 137
-
Apache FOP appears to require an additional intermediate, non-declarative conversion into XSL-FO: HTML --xsl--> XSL-FO ---xsl--> PDF – 8bitjunkie Nov 05 '15 at 13:06