If you don't want the Footer on the first two pages,
just don't set it up until you have already begun the
second page:

myDocument.open();
myDocument.add(new Chunk("this is page 1"));
myDocument.newPage();
myDocument.add(new Chunk("this is page 2"));
myDocument.setFooter(new HeaderFooter(new Phrase("this
is a footer on page #"), true));
myDocument.newPage();
myDocument.add(new Chunk("this is page 3"));
myDocument.newPage();
myDocument.add(new Chunk("this is page 4"));
myDocument.close();

-Matt

--- "Lomvardias, Christopher" <[EMAIL PROTECTED]>
wrote:
> Using that didn't seem to do anything. Am I missing
> something?
> 
> Chris
> 
> -----Original Message-----
> From: Paulo Soares [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 04, 2002 6:46 AM
> To: 'Lomvardias, Christopher';
> '[EMAIL PROTECTED]'
> Subject: RE: [iText-questions] suppress footer on
> selected page?
> 
> 
> Document.resetFooter().
> 
> Best Regards,
> Paulo Soares
> 
> > -----Original Message-----
> > From:       Lomvardias, Christopher
> [SMTP:[EMAIL PROTECTED]]
> > Sent:       Wednesday, April 03, 2002 22:15
> > To: '[EMAIL PROTECTED]'
> > Subject:    [iText-questions] suppress footer on
> selected page?
> > 
> > Is there a way to suppress a footer on selected
> pages? For example, I want
> > to suppress a footer on the first 2 pages of a
> n-paged document?
> > 
> > Chris
> > 
> > 
> > 
> > _______________________________________________
> > iText-questions mailing list
> > [EMAIL PROTECTED]
> >
>
https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/itext-questions


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to