HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML Forums › Technical questions / Troubleshooting › RTF – Individual Header for Title page › Reply To: RTF – Individual Header for Title page
January 17, 2024 at 14:49
#37679
The following HTML snippet defines individual header for the first page. The code works with PD4ML v4.
PD4ML v3 also allows to define individual headers in PDF output mode with API calls. But most probably it does not work for RTF
<pd4ml:page.header scope="1">
PAGE 1 HEADER
</pd4ml:page.header>
<pd4ml:page.header scope="2+">
DEF PAGE HEADER
</pd4ml:page.header>
<body>
PAGE CONTENT
<pd4ml:page.break>
PAGE CONTENT
<pd4ml:page.break>
PAGE CONTENT
<pd4ml:page.break>
PAGE CONTENT
<pd4ml:page.break>