I need to create a
PdfPTable that spans the bottom half of continuous pages. The top half of
each page will contain different fields that are easily filled using a
stamper. The table will contain cells with multi-line text, so I can't
predict the height of each row. Before I start coding this beast, is this
the correct approach?
(1) Fill fields on
top half of the page using the stamper.
(2) Set table
width.
(3) Add a
row.
(4) Check table
height and if the table fits the designated area, repeat
#3.
(5) If the table
doesn't fit, writeSelectedRows (except for the last row
added).
(6) Go to next
page.
(7) Go to step
#1.
Is there a better
way? I'm hoping so.
David Woosley
Mobile: 479-252-1200