Title: Column wrapping in Tables

Hi there,

I have just started using iText to begin implementing a Report generator, and its been a great help so far in understanding how PDFs work - great to have a fully-featured Library to use for it!

I have a question with regards to Tables.  Currently, when I extract data out of an SQL table with too many rows, and it goes over the limit on the page, they go off the page so the data isnt displayed correctly.  However, I would like to be able to 'wrap' the data and the headers, so something like the following would happen:


Headers
field1  field2  field3  field4  field 5 <end of page>
field6  field7  field8 

Data
<data1> <data2> <data3> <data4> <data5>         ROW 1
<data6> <data7> <data8>

<data1> <data2> <data3> <data4> <data5>         ROW 2
<data6> <data7> <data8>


Is this possibly trivially using iText?  Or has anyone written something to do this?

Thanks in advance

A grateful newbie,
Steve

Reply via email to