Subject: RE: [xsl] xsl-fo/FOP (header/footer, first page, last page) From: "SANWAL, ABHISHEK (HP-Houston)" <abhishek.sanwal@xxxxxx> Date: Thu, 23 Sep 2004 11:14:36 -0500 |
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@xxxxxxxxxxxxxx] Sent: Thursday, September 23, 2004 5:11 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxx
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] xsl-fo/FOP (header/footer, fi, Gautier Denis | Thread | [xsl] Adding empty elements for ali, Kevin Bird |
RE: [xsl] Where are xsl:messages se, Michael Kay | Date | [xsl] R: [xsl] [text nodes] Unmatch, Chizzolini Stefano |
Month |