RE: Determine Pagebreaks?
Use break-fore or break-after attr in your block. George -Original Message- From: Readman, Devon [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 10:05 AM To: [EMAIL PROTECTED] Subject: Determine Pagebreaks? Is there anyway in fop 0.20.5 to determine when a page break has occured? For example, I need to be able to redisplay a document section heading (e.g. 'Section 2 Continued...') when the section is spread over multiple pages. Thanks. Devon Devon Readman Programmer Analyst Business Solutions Division Human Services IIT Cluster (613) 548-6318 I trade it all for a little more. C. Montgomery Burns - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Determine Pagebreaks?
-Original Message- From: Readman, Devon [mailto:[EMAIL PROTECTED] Is there anyway in fop 0.20.5 to determine when a page break has occured? Nope. (Well, not through XSL-FO anyway; you would need to directly talk to the AreaTree to achieve that...) For example, I need to be able to redisplay a document section heading (e.g. 'Section 2 Continued...') when the section is spread over multiple pages. You may want to take a closer look at fo:marker/fo:retrieve-marker to achieve a similar effect. ( see the sample files in FOP_HOME/examples/fo/markers to get the idea ) If you it's no problem to alter the XML/XSL in such a way to add markers to every section, it should be a piece of cake :) Hope this helps! Cheers, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Determine Pagebreaks?
I'm not sure that this will work (I'm making it up as I go) but couldn't you use the grouping trick with the page number to test when the page number changes between elements? (*Chris*) - Original Message - From: Andreas L. Delmelle [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 9:32 am Subject: RE: Determine Pagebreaks? -Original Message- From: Readman, Devon [mailto:[EMAIL PROTECTED] Is there anyway in fop 0.20.5 to determine when a page break has occured? Nope. (Well, not through XSL-FO anyway; you would need to directly talk to the AreaTree to achieve that...) For example, I need to be able to redisplay a document section heading (e.g. 'Section 2 Continued...') when the section is spread over multiple pages. You may want to take a closer look at fo:marker/fo:retrieve-marker to achieve a similar effect. ( see the sample files in FOP_HOME/examples/fo/markers to get the idea ) If you it's no problem to alter the XML/XSL in such a way to add markers to every section, it should be a piece of cake :) Hope this helps! Cheers, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Determine Pagebreaks?
Chris Pratt wrote: I'm not sure that this will work (I'm making it up as I go) but couldn't you use the grouping trick with the page number to test when the page number changes between elements? Transformation and FO layout are two different processing stages. There is no way (well, no standardized way) feed back information from the layout to the XSL transformation. This means, whatever you do in the transformation, you wont get page numbers. A fo:page-number/ or fo:page-number-reference/ will *not* evaluate to a page number during the transformation. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]