Seanox PDF-Service is a Java library for generating, rendering and comparing PDF documents based on Open HTML to PDF.
It provides a template abstraction, APIs for templates, renderers and markup generators, a built-in markup generator, PDF and image comparison, and tools for previewing templates with mock-up data.
Templates support includes, native page numbering, and separate header, content and footer fragments. Header and footer are rendered independently and merged with the document by page overlays.
- Built-in markup generator
Supports placeholders, structures and includes. - Open to other template engines
Thymeleaf, Freemarker, Mustache, Pebble, JTE, and others. - Built-in preview and runner with mock-up support
Simplifies the design process by allowing previewing without the target application . - Independent header, data and footer areas in one template (without magic)
Header, footer and data area are merged by overlays and can therefore be formatted independently of the data area e.g. margins of the document can be used by the header and footer. - Native support of page numbers
- I18n support
Language setting is also transferred to the template and thus fonts matching the language can be used. - Supports signatures, encryption, annotations and more
- Creation of markup as preview e.g. for the frontend
- API for templates and other renderer and markup generators
Abstract templates for individual renderer and generators. - PDF and image comparison for test automation (e.g. JUnit and CI/CD)
Pixel- and color-based with difference image generation. - PDF Tools as standalone Java applications
Includes Compare, Runner, Preview as command line applications designing and testing outside and independent of projects.
Seanox Software Solutions is an open-source project, hereinafter referred to as Seanox.
This software is licensed under the Apache License, Version 2.0.
Copyright (C) 2026 Seanox Software Solutions
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Java 11 or higher
https://mvnrepository.com/artifact/com.seanox/seanox-pdf-service/4.6.0
https://mvnrepository.com/artifact/com.seanox/seanox-pdf-service
<dependency>
<groupId>com.seanox</groupId>
<artifactId>seanox-pdf-service</artifactId>
<version>4.6.0</version>
</dependency>BF: Maven: Update of dependencies
BF: Maven: Correction to Java 11 compatibility
CR: Runner: Renaming Designer to Runner
CR: Compare: Optimization/correction
CR: Test: Integration of JaCoCo (Java Code Coverage)