Best way to generate pdf documents from a template using java

For my Java web application, I would like to create PDF documents from templates.

I need to add specific information (text format and tables) to the template and create a PDF file.

What are the available solutions?

+10
source share
2 answers

Use a tool such as Open Office or Acrobat to manually create a PDF file containing form fields (AcroForm technology). Then use the library to fill out the form fields in this template. See Also Creating a complex pdf using java , a question that was selected in The Best iText Questions bundle on StackOverflow (free e-book). You will also find other variations of this book, such as options explained in the answer to this question: Create and design a PDF using iTextSharp or similar

+5
source

You can try using Birt Reports or Jasper Reports . Both libraries support PDF output.

+1
source

Source: https://habr.com/ru/post/980293/


All Articles