You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Argyn Kuketayev <Ar...@plateau.com> on 2002/04/02 23:28:12 UTC

how to print page count ?

I've to print "page X of Y", where Y is a total number of pages. how?

RE: how to print page count ?

Posted by "Matthew L. Avizinis" <ml...@gleim.com>.
Put something like <fo:block id="EndOfDocument"/> at the end of your
document.
Then wherever you need "page X of Y" insert,
page <fo:page-number/> of <fo:page-number-citation ref-id="EndOfDocument"/>

You might find http://zvon.org/xxl/xslfoReference/Output/index.html useful.
   Matthew L. Avizinis <ma...@gleim.com>
Gleim Publications, Inc.
   4201 NW 95th Blvd.
 Gainesville, FL 32606
(352)-375-0772 ext. 101
      www.gleim.com <http://www.gleim.com>


> -----Original Message-----
> From: Argyn Kuketayev [mailto:Argyn.Kuketayev@plateau.com]
> Sent: Tuesday, April 02, 2002 4:28 PM
> To: Fop-User@Xml. Apache. Org (E-mail)
> Subject: how to print page count ?
>
>
> I've to print "page X of Y", where Y is a total number of pages. how?