'How to use PDFTemplate of OpenPDF in PDFTable
I want to create a Header of a page which contains a table wit current and total number of pages.
As far as I understand OpenPDF, I have to use the PageEventHelper and the PDFTemplate to handle this.
But how can I add a PDFTemplate in a TableCell? I only find a way to add the template to the direct content of the Pdfwriter.
An if I use the document.setHeader()
, I could not use PdfTemplates, too.
Is there a way to do this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|