Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] RTF: tableFitsPAge() and lone header rows

Tom Hombergs

2007-06-13

Replies:

Hi,

 

I’m creating RTF documents containing several tables. Each table has a header row which is to be repeated if the table spans over more than one page. This is accomplished by calling Table.setTableFitsPage(true). That’s the part that works ;).

 

The problem is that in some cases a table begins just before the end of a page and only the header row is displayed on that page. I would like to tell the table to begin on the next page so as not to have a lone header row at the end of a page. Is that possible somehow? I read something about a fitsPage() method which was apparently removed from the API?

 

Regards,

Tom

 

-- 
Tom Hombergs
adesso AG
Internet Applications
Studentischer Mitarbeiter
Stockholmer Allee 24
44269 Dortmund
hombergs@adesso.de
www.adesso.de
---------------------------------------------------------------------------
>>> business. people. technology. <<<
---------------------------------------------------------------------------
adesso AG mit Sitz in Dortmund
Vorstand: Michael Kenfenheuer, Rainer Rudolf (Vors.), Dr. RĂ¼diger Striemer
Vorsitzender des Aufsichtsrates: Prof. Dr. Volker Gruhn
Amtsgericht Dortmund HRB 14509

 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.