Skip to content

sombriks/sample-spring-boot-pdf

Repository files navigation

spring boot demo pdf

simple project to test pdf generation from html templates

maven dependency

<dependency>
    <groupId>org.xhtmlrenderer</groupId>
    <artifactId>flying-saucer-pdf-itext5</artifactId>
    <version>9.1.22</version>
</dependency>

basic usage

Load html template as resource, do some processing, then call te pdf library

docs

limitations

  • only inline css will be honored
  • css3 features not available (flex and flex-grid are unavailable)
  • images and resources external to the html document will not be loaded

further reading

About

sample project to generate pdfs from html templates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published