HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › Different footer on the last page › Re: Re: Different footer on the last page
May 21, 2014 at 11:42
#29492
If the total number of PDF pages is not known, it is a bit tricky.
tag supports scope attribute to define a page scope, where particular footer definition is supposed to go. For example scope=”2+,skiplast” There is a reason, why “skiplast” option is supported, but “lastpage” option is not.
See html-pdf-faq-f1/scope-lastpage-t356.html for brief explanation and a workaround.