xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Eiden <dirk.ei...@gmx.de>
Subject Re: number of pages on the first page
Date Fri, 03 Dec 2004 16:00:46 GMT
> on the first page of a multi-page pdf I would like to show, how much 
> pages the complete document has.
> Does anyone have an idea if that's posssible and how?

Place an empty block with an arbitrary id at the end of your document
(e.g <fo:block id="endofdoc"/>) and use fo:page-number-citation to cite
the number of pages (e.g. <fo:page-number-citation ref-id="endofdoc"/>).

But be careful: this uses more memory due to the forward reference.


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

View raw message