Generate PDFs in Java from HTML templates: an invoice with Thymeleaf and openhtmltopdf, page numbers, repeating table headers, custom fonts, Spring Boot.