Skip to content

vndovr/html2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Quarkus java REST reporting service

When it comes to generate PDFs using Java the de facto solution is Jasper Reports. Even though it provides a bunch of features and a great set of tools, such as iReport and JasperSoft Studio, the developer might want a simpler and flexible alternative.
This is an example Quarkus application that illustrate how simple and powerful it could be when use simple html template engine and than convert generated html into pdf. In this example we use Handlebars as java html template engine. And for your choice two possible ways to convert generated html into pdf:

  • Flying Saucer - iText as a rendering engine
  • Open html to pdf - PDFBox as a rendering engine

Useful links

How to design html

Html template engine

Rendering of pdf

To check the demo:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published