Re: [iText-questions] Automatically add new pages

2005-08-09 Thread bruno
Margie Yeung wrote: I am passing a document object through a variety of methods to keep adding data to it, We've seen the attachment, now it's time to look at the methods you are using. As the data you are adding are all short paragraphs, it seems obvious to use document.add(new Paragraph(dat

Re: [iText-questions] Automatically add new pages

2005-08-09 Thread Justin Lee
Page breaks should happen automatically. Margie Yeung wrote: How can I get itext to automatically add new pages to the PDF document, without using document.newPage? I have a code that is pulling text values that will be different lengths and at times a new page will need to be added when the ol

Re: [iText-questions] Automatically add new pages

2005-08-09 Thread Margie Yeung
the > tutorial? > > Pagination is automatic with document.add(). > > - Original Message - > From: "Margie Yeung" <[EMAIL PROTECTED]> > To: > Sent: Monday, August 08, 2005 7:01 PM > Subject: [iText-questions] Automatically add new pages > >

Re: [iText-questions] Automatically add new pages

2005-08-09 Thread Paulo Soares
Is this question for real? Did you actually try any of the examples in the tutorial? Pagination is automatic with document.add(). - Original Message - From: "Margie Yeung" <[EMAIL PROTECTED]> To: Sent: Monday, August 08, 2005 7:01 PM Subject: [iText-questions] Autom

Re: [iText-questions] Automatically add new pages

2005-08-09 Thread Paulo Soares
If you are not using document.add() you must call newPage() when needed. - Original Message - From: "Margie Yeung" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]> Cc: Sent: Monday, August 08, 2005 10:19 PM Subject: Re: [iText-questions] Automat

Re: [iText-questions] Automatically add new pages

2005-08-09 Thread Margie Yeung
Yeah, for some reason it isn't - see the attached document that is getting created. On 8/8/05, Justin Lee <[EMAIL PROTECTED]> wrote: > Page breaks should happen automatically. > > Margie Yeung wrote: > > How can I get itext to automatically add new pages to the PDF > > document, without using doc

[iText-questions] Automatically add new pages

2005-08-08 Thread Margie Yeung
How can I get itext to automatically add new pages to the PDF document, without using document.newPage? I have a code that is pulling text values that will be different lengths and at times a new page will need to be added when the old page space runs out. Thanks! --