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" <[EMAIL PROTECTED]>
To: <[email protected]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to