That's the way to do it. With long rows it may help to have a mix of PdfPTable for the short rows and ColumnText for the long rows to control the break. Remember that a PdfPTable is a group of ColumnText with lines around.
Best Regards, Paulo Soares > -----Original Message----- > From: Kenny G. Dubuisson, Jr. [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, January 14, 2003 14:23 > To: [EMAIL PROTECTED] > Subject: Re: [iText-questions] Page breaks for long PdfPTable > > Thanks Paulo. What I did then was keep track of the total page height, > available page height, and height of each row as I put it out and was able > to do my page breaks like that. Do you think that is the best way to do > it? > Thanks, > Kenny > > ----- Original Message ----- > From: "Paulo Soares" <[EMAIL PROTECTED]> > To: "'Kenny G. Dubuisson, Jr.'" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Tuesday, January 14, 2003 4:17 AM > Subject: RE: [iText-questions] Page breaks for long PdfPTable > > > > PdfPTable won't break rows. That's documented in the javadocs and it's > by > > design not a bug. > > > > Best Regards, > > Paulo Soares > > > > > -----Original Message----- > > > From: Kenny G. Dubuisson, Jr. [SMTP:[EMAIL PROTECTED]] > > > Sent: Monday, January 13, 2003 20:27 > > > To: [EMAIL PROTECTED] > > > Subject: [iText-questions] Page breaks for long PdfPTable > > > > > > I'm pulling data from a database that generates rows in a PdfPTable. > > > There > > > are more rows than fit on one page. The problem I have is that I > can't > > > get > > > the table to page break at the end of the page and continue on the > next > > > page > > > (with a new header). What I want it like in > > > http://www.lowagie.com/iText/examples/Chap0518.java of the iText > tutorial > > > but what I get is the table extending to the very bottom of the page > and > > > then the rest of the rows are truncated (no new page). > > > > > > FYI, I do have a setHeaderRows declaration if that matters. Any > ideas? > > > Thanks, > > > Kenny > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.NET email is sponsored by: FREE SSL Guide from Thawte > > > are you planning your Web Server Security? Click here to get a FREE > > > Thawte SSL guide and find the answers to all your SSL security > issues. > > > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en > > > _______________________________________________ > > > iText-questions mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/itext-questions > > > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: FREE SSL Guide from Thawte > > are you planning your Web Server Security? Click here to get a FREE > > Thawte SSL guide and find the answers to all your SSL security issues. > > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en > > _______________________________________________ > > iText-questions mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/itext-questions > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: FREE SSL Guide from Thawte > are you planning your Web Server Security? Click here to get a FREE > Thawte SSL guide and find the answers to all your SSL security issues. > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
