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: <[email protected]>
Sent: Monday, August 08, 2005 10:19 PM
Subject: Re: [iText-questions] Automatically add new pages


Yep - and actually I have the pdf creating - check the attachment -
but see how it just keeps writing on the bottom...

I am passing a document object through a variety of methods to keep
adding data to it, and it appears to keep adding the data but it never
creates a new page (only 1 page is created).  Since I am iterating
through, and thus never know how much data there will be for each
section, I can't hardcode in the document.newPage() call.

On 8/8/05, Paulo Soares <[EMAIL PROTECTED]> wrote:
> 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: <[email protected]>
> Sent: Monday, August 08, 2005 7:01 PM
> Subject: [iText-questions] Automatically add new pages
>
>
> 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!
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
>



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to