xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Sargent <rsarg...@xmission.com>
Subject Re: page number, but only if more than one page exists
Date Sun, 22 Mar 2015 21:41:02 GMT
if you're using xsl transformation... have you tried

<xsl:if test="fo:page-number != 0">
     <your current page numbering here
</xsl:if>



On 03/22/2015 10:30 AM, Roberto Nunnari wrote:
> Hi.
>
> I need to change a servlet that generates a FO document and then 
> transforms it into a pdf document. Unfortunately I know almost nothing 
> about Formatting Objects. :-(
>
> At present the FO adds the page number on every page.
>
> I need to change it so that it adds the page number, but only if there 
> are more than one page.
>
> fop version in use is very old.. 0.91beta and build-Id is from 20051223
>
> Any help very appreciated.
>
> Thank you and best regards.
> Robi
>
> ---------------------------------------------------------------------
> 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