Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Tables and footers

Jeff Mogielnicki

2006-06-12

Replies:

Hi,

I have a report that has a header and footer on every page. The
report displays multiple tables, of which a single table can span
multiple pages. The table is created using the com.lowagie.text.Table
object. The report was working fine under iText-0.90.jar. I recently
upgraded to itext-1.4.jar with no code changes. Everything works fine
except for a problem when a table ends at the bottom of a page. When
this happens, 2 page feeds get put in the document and a footer
appears at the top of the third page, overwriting subsequent table
data. The code lets iText split the tables when spanning a page.

My questions are:
1) Should I be using the Table object or use PDFpTable and writeSelectedRows()?
2) Has this behavior been seen before?

Any and all help is appreciated,
-Jeff


_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.