You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by vi...@gerling.de on 2001/09/14 09:59:28 UTC

Total page number of a PDF document

Hi!

Is it possible to indicate the total page number of the document, e.g. for
an output of the type "page 3 of 35" ?
I did not find something to this question in the documentation or the
examples.

Thank you first

Greetings
Viktor Keimes

___________________________________________
> Dr. Viktor Keimes
> Gerling GKI AB-IM; Spiesergasse 20, D-50597 Köln
> Tel: +49 (0)221 144-62005
e-Mail: viktor.keimes@gerling.de
___________________________________________





---------------------------------------------------------------------
This message is intended for the addressee or its representative only. Any
form of unauthorized use, publication, reproduction, copying or disclosure
of the content of this e-mail is not permitted. If you are not the intended
recipient of this e-mail message and its contents, please notify the sender
immediately and delete this message and all its attachments subsequently.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Total page number of a PDF document

Posted by "jerome.basso" <je...@free.fr>.
Hi

One solution is to create an empty block at the end of the document with an
id and to use page-number citation toward this block.

   <fo:block id="endofdoc" />

and

        <fo:block font-size="9pt" line-height="15pt" text-align="end">
             p. <fo:page-number/>/<fo:page-number-citation
ref-id="endofdoc"/></fo:block>

Hope it helps.

Jerome


----- Original Message -----
From: <vi...@gerling.de>
To: <fo...@xml.apache.org>
Sent: Friday, September 14, 2001 09:59
Subject: Total page number of a PDF document


Hi!

Is it possible to indicate the total page number of the document, e.g. for
an output of the type "page 3 of 35" ?
I did not find something to this question in the documentation or the
examples.

Thank you first

Greetings
Viktor Keimes

___________________________________________
> Dr. Viktor Keimes
> Gerling GKI AB-IM; Spiesergasse 20, D-50597 Köln
> Tel: +49 (0)221 144-62005
e-Mail: viktor.keimes@gerling.de
___________________________________________





---------------------------------------------------------------------
This message is intended for the addressee or its representative only. Any
form of unauthorized use, publication, reproduction, copying or disclosure
of the content of this e-mail is not permitted. If you are not the intended
recipient of this e-mail message and its contents, please notify the sender
immediately and delete this message and all its attachments subsequently.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org