I am producing a PDF document using PdfPTables to manage the several
sections of data that I want to layout

 

I’m finding that I can’t control when tables start on (or split to) a new
page very well

 

So I have something like

 

doc.open()

table = new PdfPTable(1)

addDetail_1(table)

doc.add(table)

doc.newline()

table = new PdfPTable(4)

addDetail_4(table)

doc.add(table)

doc.newline()

table = new PdfPTable(2)

addDetail_2(table)

doc.add(table)

 

etc

 

doc.close()

 

Basically I need my data laid out in various shaped tables with a few blank
lines separating the tables

What I am getting is large amounts of page being unused as a table is NOT
being started except on a new page

 

Any thoughts on how I can control this better

Many thanks

 

 


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.11.19/955 - Release Date: 2007-08-15
16:55
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to