Skip to content

Openpdf‐html: migrate from Flyingsaucer

Andreas Røsdal edited this page Jun 24, 2025 · 2 revisions

How to migrate from Flyingsaucer to Openpdf-html:

Use OpenPDF as Maven dependency

Add this to your pom.xml file to use the latest version of OpenPDF:

<dependency>
  <groupId>com.github.librepdf</groupId>
  <artifactId>openpdf</artifactId>
  <version>2.2.3</version>
</dependency>

Update import package names

Use org.openpdf instead of org.xhtmlrenderer

Clone this wiki locally