Open HTML to PDF
flyingsaucer
Our great sponsors
Open HTML to PDF | flyingsaucer | |
---|---|---|
5 | 6 | |
1,826 | 1,916 | |
- | 1.4% | |
0.0 | 9.6 | |
6 months ago | 5 days ago | |
Java | Java | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Open HTML to PDF
- Launch HN: Onedoc (YC W24) – A better way to create PDFs
-
PDF rendering server-side using HTML 5 + CSS 3
I've used OpenHtmlToPdf for years. Combine this with something like Velocity for templating.
-
best pdf library to use in 2023?
I would suggest Open HTML to PDF, which is a high-level library to build PDF using HTML strings, so you don't have to learn new complex APIs (assuming you already know HTML and CSS).
-
How do you generate PDF reports from HTML?
If you want to generate accessible PDF/UA compliant PDFs, I find https://github.com/danfickle/openhtmltopdf to be the only solution.
-
Is Jasper still the best Report Engine?
There is also https://github.com/danfickle/openhtmltopdf/ , which is a fork of flying saucer which has more features and is more actively developed :)
flyingsaucer
-
CSS for Printing to Paper
I have been creating print labels with plot/cut lines using css and I used browsers to covert it to PDF. The experience was terrible. While all was perfect on my 1-page proof print, both large browsers messed up the final document (with a few hundred labels on several pages).
Firefox forgot to render images after a few pages. So on some labels the barcodes were not printed.
Chrome looked good at the fist glance. But it turned out that the plot/cut lines (which I created via CSS borders) had been shifted by 1-2mm on _some_ pages. Result was garbage.
I finally switched to https://github.com/flyingsaucerproject/flyingsaucer which is a high quality HTML/CSS to PDF library. Only drawback is that it only supports CSS 2.1, so some fancy features are not supported like rotating text.
-
Htmldocs: Typeset and Generate PDFs with HTML/CSS
I've used flying saucer pdf[1] for this in the past, but the missing piece always seems to be a descent WYSIWYG template editor. Either open source or paid.
Any suggestions on a web solution that allows non-devs to make great templates would be appreciated.
Historically I've built something simple with Tiny and added a preview button to render, but that super clunky.
[1] https://github.com/flyingsaucerproject/flyingsaucer
-
is thymleaf still used
Same, we also use it in conjunction with Flying Saucer PDF to produce PDF reports.
- How do i convert html file to pdf file using java(fx)?
-
Is Jasper still the best Report Engine?
Personnaly, I'm a big fan of Flying Saucer.
-
Is there a Kotlin-first library to create PDFs?
Not Kotlin first, but I use Flying Saucer (LGPL licenced) in Java.
What are some alternatives?
OpenPDF - OpenPDF is a free Java library for creating and editing PDF files, with a LGPL and MPL open source license. OpenPDF is based on a fork of iText. We welcome contributions from other developers. Please feel free to submit pull-requests and bugreports to this GitHub repository.
iText - [DEPRECATED] Core Java Library + PDF/A, xtra and XML Worker. Only security fixes will be added — please use iText 7
Apache PDFBox - Mirror of Apache PDFBox
itext-java - iText for Java represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText can be a boon to nearly every workflow.
Apache FOP - Apache XML Graphics FOP
itext-dotnet - iText for .NET is the .NET version of the iText library, formerly known as iTextSharp, which it replaces. iText represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high and low-level programming capabilities and the ability to create, edit and enha
Tabula - Extract tables from PDF files
Dynamic Jasper - Dynamic Reports using Jasper Reports
boxable - Boxable is a library that can be used to easily create tables in pdf documents.
Konik - A library to create, read and validate ZUGFeRD compliant invoices. Available for Java and .NET