xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amick, Eric" <Eric.Am...@mail.house.gov>
Subject RE: FOP 1.0 support for 'page-postion=only'
Date Tue, 24 Jan 2012 17:43:46 GMT
I'm probably missing something, but won't this do what you want?

<fo:page-sequence-master master-name="letter">
	<fo:repeatable-page-master-alternatives>
		<fo:conditional-page-master-reference page-position="last" master-reference="letter-last"/>
		<fo:conditional-page-master-reference master-reference="letter-all-but-last"/>
      </fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>

Eric Amick   Systems Engineer II
Legislative Computer Systems

> -----Original Message-----
> From: FPar [mailto:Francis.Parsons@verizon.net]
> Sent: Tuesday, January 24, 2012 8:09
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: FOP 1.0 support for 'page-postion=only'
> 
> 
> Hmm, OK. The compliance page seems to be for all versions. Do you have
> an
> example of something that should work? I have a letter where there is a
> signature section that should appear (in the footer) of the last page
> (I
> want to keep it fixed to the bottom to the page). However, if the page
> is
> only one page long, I also want that signature section to appear.
> 
> This is what I had that didn't work:
> 
> <fo:page-sequence-master master-name="letter">
> 	<fo:repeatable-page-master-alternatives>
> 		<fo:conditional-page-master-reference page-position="only"
> master-reference="letter-last"/>
> 		<fo:conditional-page-master-reference page-position="first"
> master-reference="letter-all-but-last"/>
> 		<fo:conditional-page-master-reference page-position="rest"
> master-reference="letter-all-but-last"/>
> 		<fo:conditional-page-master-reference page-position="last"
> master-reference="letter-last"/>
> 
> 
> </fo:repeatable-page-master-alternatives>
> 	</fo:page-sequence-master>
> 
> Does this look correct? Should this work? Thanks for any help with
> this!
> 
> 
> 
> Pascal Sancho wrote:
> >
> > Hi,
> >
> > Page compliance says that partial support concerns only FOP 0.95.
> Latter
> > versions have full support for this property.
> >
> > After SVN check, the "only" support was added in rev 698280, witch
> was
> > prior to FOP 1.0.
> >
> > So, page compliance is up to date (regarding that feature), and FOP
> 1.0
> > should implement it fully.
> >
> >
> 
> --
> View this message in context: http://old.nabble.com/FOP-1.0-support-
> for-%27page-postion%3Donly%27-tp33188282p33194743.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