HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML Forums › Technical questions / Troubleshooting › Headers and footers rotated on page rotation › Reply To: Headers and footers rotated on page rotation
November 11, 2022 at 00:34
#35650
Hi! I assume you rotate the page layout with
<pd4ml:page.break pageFormat="rotate">
…
<pd4ml:page.break pageFormat="reset">
To prevent the headers and footers from rotating, you do not need to rotate the page layout, but simply change the page format to landscape. Unfortunately, for the time being this is only possible if you specify explicit dimensions in points. For example, landscape format A4:
<pd4ml:page.break pageFormat="842x595">