Hi,
(sorry for my - bad - english)
(I'm using FOP)
I have to deal with headers and footers that can be different according to the
number of pages of the document.
Explanation :
I have to build a financial report.
If this report is made of several pages, each intermediate page must display a
sub-total, and this sub-total must be displayed at the top of the following
page.
BUT :
The first page must not show a zero sub-total at the top (for there is no
previous page),
The last page must not show a sub-total at the bottom of the page (for it is
the total),
Furthermore, the document may be constituted of ONE page only (so I have to
know that the current page is the first and the last one altogether.
Would anybody have a solution, or samples of code that could help me.
Thanks in advance,
Denis GAUTIER
Sopra Group - agence de Normandie
3 rue du Four
76100 ROUEN
Tel 02 32 81 57 47
Fax 02 32 81 57 58
Email dgautier(_at_)sopragroup(_dot_)com