HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › PD4ML Tips & Tricks › How to add dynamic data to PDF header or footer This topic has 0 replies, 1 voice, and was last updated May 30, 200920:27:01 by PD4ML. Viewing 1 post (of 1 total) Author Posts PD4ML May 30, 2009 at 20:27 #26176 You may dynamically add the data (for example the current date) to the header/footer definition teamplate: Java: [language=java:38gya5ch]String pageNumberTemplate = getFormattedDate() + “, page $[page]”; footer.setPageNumberTemplate( pageNumberTemplate );[/language:38gya5ch] JSP: [language=xml:38gya5ch]<% String template = getFormattedDate() + ", page $[page] "; %> Author Posts Viewing 1 post (of 1 total) The forum ‘PD4ML Tips & Tricks’ is closed to new topics and replies.