If you use the template method you must make compromises: either you use the 
standard way and expect bigger numbers to be slightly misaligned or you can 
give the space between the "of" and the number and eat that space with the 
big numbers. The only way to make it correctly is to do two passes, counting 
the pages in the first pass and outputting the PDF in the second pass. Other 
option is to add the numbering later with PdfStamper.

Paulo

----- Original Message ----- 
From: "Nussbaum-Jones, Nina" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 21, 2006 7:42 PM
Subject: Can't find answer to post anywhere. Can you help?


>I need to add the "Page n of m" header to each page and I cannot figure
> out how to space it properly when the total number of pages exceeds 9.
> The link to the question is:
>
>
>
> http://www.mail-archive.com/[email protected]/msg249
> 41.html
>
>
>
> I am in big trouble if I can't get this to work.  Please help?
>
>
>
> Thanks!!
>
>
>
> Nina.
>
> 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to