xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cristian Ferrero" <cristian_ferr...@hotmail.com>
Subject Re: Continue page break
Date Thu, 14 Feb 2008 20:43:56 GMT
Hi, that was the first question...the second was about footer only  in first 
page (when there is one) or in the last (where are more than one) using 
marks...

im trying to doing this in

region-after
<fo:static-content flow-name="after">

<fo:retrieve-marker retrieve-class-name="footermessage" 
retrieve-boundary="page" retrieve-position="last-starting-within-page"/>

</fo:static-content>



before the flow ends :

<fo:block>

<fo:marker marker-class-name="footermessage">End of Document</fo:marker>

......... ant the rest of blocks i want in the footer


.but it only shows in first page.......



----- Original Message ----- 
From: "Andreas Delmelle" <andreas.delmelle@telenet.be>
To: <fop-users@xmlgraphics.apache.org>
Sent: Thursday, February 14, 2008 5:24 PM
Subject: Re: Continue page break


> 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
>
> 


---------------------------------------------------------------------
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