PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) PD4ML Tips & Tricks How to add dynamic data to PDF header or footer

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #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.