xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Delmelle <andreas.delme...@telenet.be>
Subject Re: Continue page break
Date Thu, 14 Feb 2008 20:24:51 GMT
On Feb 14, 2008, at 20:58, Cristian Ferrero wrote:

Hi

> could by my problem that the "footer" i need to repeat is inside  
> the region-after? (i mean i want this region only shows in last  
> page when are more than one page and in first page when only one)

If I get Chris' hint and your desired result correctly, what you need  
would be roughly:

<fo:static-content ...>
   <fo:retrieve-marker retrieve-class-name="continued" retrieve- 
boundary="document" retrieve-position="last-ending-within-page"/>
   <fo:retrieve-marker retrieve-class-name="total" retrieve- 
boundary="page" retrieve-position="last-ending-within-page"/>
   ...
</fo:static-content>
<fo:flow ...>
   ...
   <!-- in the first row of your table -->
   <fo:block>
     <fo:marker marker-class-name="continued">Continued</fo:marker>
     <fo:marker marker-class-name="total" />
   </fo:block>
   ...
   <!-- in the last row of your table -->
   <fo:block>
     <fo:marker marker-class-name="continued" />
     <fo:marker marker-class-name="total">Total</fo:marker>
   </fo:block>
   ...
</fo:flow>

Untested, but should work...


HTH!

Andreas

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


Mime
View raw message