xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Pratt" <chr...@planetpratt.com>
Subject Re: Determine Pagebreaks?
Date Tue, 10 Feb 2004 17:36:58 GMT
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" <a_l.delmelle@pandora.be>
To: <fop-user@xml.apache.org>
Sent: Tuesday, February 10, 2004 9:32 am
Subject: RE: Determine Pagebreaks?


> > -----Original Message-----
> > From: Readman, Devon [mailto:Devon.Readman@moh.gov.on.ca]
> >
> > 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: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message