flyingsaucer
Apache PDFBox
Our great sponsors
flyingsaucer | Apache PDFBox | |
---|---|---|
6 | 26 | |
1,916 | 2,379 | |
1.2% | 2.0% | |
9.6 | 9.7 | |
3 days ago | 7 days ago | |
Java | Java | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
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.
Apache PDFBox
-
PDF rendering server-side using HTML 5 + CSS 3
Are you looking for a way to render PDF's or produce them? If you want to produce PDF's, I've used https://pdfbox.apache.org/ successfully as well as https://itextpdf.com/ (potentially costs money).
-
So you want to modify the text of a PDF by hand
If you don't mind using java, you can use the open source Apache PDFBox library
https://pdfbox.apache.org/
It's relatively performant and it's a mature and supported codebase that can accomplish most pdf tasks.
- best pdf library to use in 2023?
-
How to crop, split, remove pages from PDFs with Java and PDFBox
Then, open the pdf_utils/pom.xml file and add a dependency to PDFBox, in the dependencies section:
- Does no one use PDF files anymore?? In need of a PDF generator package...
-
How to take input from User and make a PDF of it and directly send it to WhatsApp?
There are some libraries for Java that can help you create a PDF file such as PDFBox or IText. Here there's a short exaplanation on how to use them.
- Thoughts on Birt Report for pdf reports
-
How I archived 100 million PDF documents... (Part 1)
So, when I started to view the documents, a lot of them simply failed to open. I had to look around for a library that could verify PDF documents. I had some experience with PDFBox in the past, so it seemed to be a good go-to solution. It had no way to verify documents by default, but it could open and parse them and that was enough to filter out the incorrect ones. It felt a little bit strange just to read the whole PDF into the memory to verify if it is correct or not, but hey I needed a simple fix for now and it worked really well.
- Best FOSS (ideally Docker) that can split PDF files ?
-
PDF processing and analysis with open-source tools
PDFBox can do this. It’s not part of the CLI but it wouldn’t be too hard to add:
https://github.com/apache/pdfbox/blob/5b00807463279f1002e245...
What are some alternatives?
iText - [DEPRECATED] Core Java Library + PDF/A, xtra and XML Worker. Only security fixes will be added — please use iText 7
Open HTML to PDF - An HTML to PDF library for the JVM. Based on Flying Saucer and Apache PDF-BOX 2. With SVG image support. Now also with accessible PDF support (WCAG, Section 508, PDF/UA)!
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.
Apache FOP - Apache XML Graphics FOP
Apache POI - Mirror of Apache POI
Dynamic Jasper - Dynamic Reports using Jasper Reports
Konik - A library to create, read and validate ZUGFeRD compliant invoices. Available for Java and .NET