I don't know if at this point of time XSL-FO supports layout driven
rendering as you cannot control how many items will show on that page by
nature of FO.
Of course, what could be done is that you pre-determine and LIMIT the
number (say N) of items that show on a given page using XSL. Once you do
that it might be possible to use the FO: Page Marker to create a running
header/footer which basically computes a SUM using the "N" values that
you have already determined.
I Hope that helps.
Thanks,
____________________________________________________________
Abhishek Sanwal
HP - Houston Campus
-----Original Message-----
From: Gautier Denis [mailto:dgautier(_at_)sopragroup(_dot_)com]
Sent: Thursday, September 23, 2004 5:11 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] xsl-fo/FOP (header/footer, first page, last page)
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
--+------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--