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 18:55:18 GMT
Chris....

in my single region-after i add

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


then immediatly flow starts

<fo:flow flow-name="D-CONSUMOS">

<fo:block>

<fo:marker marker-class-name="footermessage">Continued</fo:marker>

</fo:block>



before flow ends



<fo:block>

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

</fo:block>

</fo:flow>

and nothing happends...im right ?









----- Original Message ----- 
From: "Chris Bowditch" <bowditch_chris@hotmail.com>
To: <fop-users@xmlgraphics.apache.org>
Sent: Thursday, February 14, 2008 10:04 AM
Subject: Re: Continue page break


> Cristian Ferrero wrote:
>
>> Chris, it worked, the problem is that sometimes will have more than one 
>> page (works fine, shows what i want in last page), but when exists only 
>> one page i need las't page footer not first.....)..do you understand me ?
>
> Yes I understand. What you need is page-position="only" which was 
> introduced as part of XSL-FO 1.1. Unfortunately FOP doesn't yet implement 
> this property. You will need to use fo:marker approach instead.
>
> This involves just having a single region-after throughout document and 
> putting fo:retrieve-marker in fo:static-marker similar to what I described 
> in answer to your first question. Put 2 markers into the XSL-FO file.
>
> First:
>
> <fo:marker marker-class-name="footermessage">Continued</fo:marker>
>
> Second:
>
> <fo:marker marker-class-name="footermessage">End of Document</fo:marker>
>
> The first should be placed near top of fo:flow and the second near to the 
> end.
>
> I hope this is clear.
>
> Chris
>
>
>
> ---------------------------------------------------------------------
> 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