HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › Different Header / Footer based on page number › Re: Re: Different Header / Footer based on page number
May 27, 2013 at 14:39
#28712
I am currently evaluating this software, before deciding to buy the full license. It looks like there might be a limitation with regards to headers and footers. The example above demonstrates how to define page specific content, but as far as I can see there is no way to set page specific areaHeight.
I would like to render my first page without a header:
PD4PageMark out = new PD4PageMark();
out.setHtmlTemplate("...some header...");
out.setPagesToSkip(1);
out.setAreaHeight(-1);
The header is not displayed in the pdf, but the space it occupies (in subsequent pages) pushes the content down. Is there a way to solve this?
