[iText-questions] getPageNumber() always returns zero

2003-01-09 Thread John L. Lowenthal
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 ---

Re: [iText-questions] Indenting a Header!

2003-01-09 Thread John L. Lowenthal
Sorry for the double send on the previous email... The posted solution only fixes half my problem. It aligns fine now, but I still have the problem that I can't indent the header. Is there anything I can do about this? Thanks. -John > Quoting "John L. Lowenthal" <[EMAIL PR

[iText-questions] Indenting a Header!

2003-01-09 Thread John L. Lowenthal
Hello, I am having a problem formatting text that is to be part of the document header. The text is stored as a Paragraph, which is then passed as a parameter to create a HeaderFooter object. Finally, the setHeader method is used. The text shows up in the desired font, but here's the proble

[iText-questions] Indenting a Header!

2003-01-08 Thread John L. Lowenthal
Hello, I am having a problem formatting text that is to be part of the document header. The text is stored as a Paragraph, which is then passed as a parameter to create a HeaderFooter object. Finally, the setHeader method is used. The text shows up in the desired font, but here's the proble