79293721

Date: 2024-12-19 09:28:19
Score: 1
Natty:
Report link

This is how i retrieve the PDDocument

val pdf = this::class.java.classLoader.getResourceAsStream("pdf/role.pdf")
        ?: throw FileNotFoundException("PDF template not found at pdf/role.pdf")
    val pdfTemplate = Loader.loadPDF(pdf.readAllBytes()).

Note that the other properties like newMail are set properly

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Emmanuele Guerriero