Multi-page table
- From: "Bruno Lowagie (iText)" <bruno (at) lowagie.com>
- Date: Fri, 02 Feb 2007 12:34:34 +0100
Daniel Brownell wrote:
>
> Hi,
>
> How can I extend a table length-wise across multiple pages?
>
> eg.
> PAGE 1:
> table1
> table2
> table3
>
> PAGE 2:
> table1-(continued)
> table2-(repeated or not shown)
> table3-(continued)
Use PdfPtable, DO NOT use class Table.
Wrap table1 in column1 (use class ColumnText);
table2 in column2, table3 in column3.
Define the rectangle for each column.
Perform go() for each column.
As long as one of the three columns has
more content {
- invoke newPage();
- reset the Y value for each column
- perform go() for each column.
}
br,
Bruno
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/