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]
