HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › How to find out if a page break has occurred › Re: Re: How to find out if a page break has occurred
PD4ML can repeat a table header after a page break (pd4ml.enableSmartTableBreaks(true)). But it does not allow to add, for example, “(continued)” to the original header. So probably the trick with table headers will work for you.
PD4ML Pro allows you to define page-specific headers in a case you use
1. The tag supports scope attribute. For example: scope=”1″ defines header for the first page only; meaning of scope=”2+”, scope=”4-5″ is hopefully obvious. On the top of HTML page you may define multiple
2. Also
For your sample in theory it should be like that:
[language=xml:12j8bljf]Italy.
item
item
item
item
item
item
item
However I tested the code and it does not work as desired. In a case of multiple header definitions/redefinitions on a single page only the last header definition takes effect. We’ll check if it possible to improve the algorithms to support the above idea.