Bruno, maybe this one should go in the FAQ.  You have
to ask the Writer for the page number, because it
could vary from one Writer to the next and so does not
apply to the Document itself.  This does give rise to
the question whether Document should have such a
method at all.  What is the reason for this?  I assume
there must be one.

-Matt

--- "John L. Lowenthal" <[EMAIL PROTECTED]> wrote:
> Hello. I am trying to use the
> Document.getPageNumber() method to insert the
> current page number into text throughout my pdf. 
> However, the method
> always returns a zero. This is especially confusing
> because the footer
> shows the page number fine. Any ideas? Thanks-John
> 
> 
> 
> 
>
-------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld =
> Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/itext-questions


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to