HTML to PDF/RTF Java converter and tools › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › Java PDF Generation page-specific footers › Re: Re: Java PDF Generation page-specific footers
You may implement PD4PageMark.getHtmlTemplate(int) method, to return different footer definitions depending on a page number. See the last code sample on
PD4PageMark.setInitialPageNumber(-2) should (in theory) set page number 1 to the third page.
There is no way to reset page numbering. But you may generate two PDF documents with independent page numbering and to merge them. As far as I remember your PD4ML version supports PD4ML.merge()