xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Furst, Tom" <tom.fu...@rcmt.com>
Subject RE: different footer for last page
Date Mon, 22 Aug 2011 12:01:30 GMT
Thanks for the help, worked great. Could have sworn I had tried moving them, but guess not.

-----Original Message-----
From: champagne_chary [mailto:antoine@champers.co.uk] 
Sent: Friday, August 19, 2011 6:53 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: different footer for last page


Hello, 

Not sure if I am right given i am a true beginner with all of this.. 

however if you change the order and put the last page headers above then it
works for me.. the way around that you have it for some reason it doesn't. 

</fo:simple-page-master>
	<fo:page-sequence-master master-name="page-master-177027616">
	<fo:repeatable-page-master-alternatives>
	<fo:conditional-page-master-reference
master-reference="page-master-177027616-even-last" odd-or-even="even"
page-position="last"/>
	<fo:conditional-page-master-reference
master-reference="page-master-177027616-odd-last" odd-or-even="odd"
page-position="last"/>
	<fo:conditional-page-master-reference
master-reference="page-master-177027616-even" odd-or-even="even"/>
	<fo:conditional-page-master-reference
master-reference="page-master-177027616-odd" odd-or-even="odd"/>
	</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>



Regards


Furst, Tom wrote:
> 
> Hello,
> 
> I am having problems getting a different footer on the final page of PDFs
> I am generating from FOP 1.0. I have the following in my stylesheet:
> 
> <fo:page-sequence-master master-name="chapters">
> 	<fo:repeatable-page-master-alternatives>
> 		<fo:conditional-page-master-reference odd-or-even="odd"
> master-reference="page"/>
> 		<fo:conditional-page-master-reference odd-or-even="even"
> master-reference="page-even"/>
> 		<fo:conditional-page-master-reference odd-or-even="odd"
> page-position="last" master-reference="page-last"/>
> 		<fo:conditional-page-master-reference odd-or-even="even"
> page-position="last" master-reference="page-even-last"/>
> 	</fo:repeatable-page-master-alternatives>
> </fo:page-sequence-master>
> 
> I have created the simple-page-master for each, page-last and
> page-even-last, where I identified the new region-after for each.
> 
> Does FOP support the use of the 'page-position' property? I am getting my
> different headers/footers for even odd, just not for the last page. Any
> help will be much appreciated.
> 
> Thanks,
> 
> Tom
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/different-footer-for-last-page-tp32295614p32299041.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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