[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl-fo/FOP (header/footer, first page, last page)
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-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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|