It will be easier to recode to PdfPTable than to wait for Table to work well. 
Table is really not supported anymore. 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Lee Ser Wei
> Sent: Tuesday, April 19, 2005 8:15 AM
> To: [email protected]
> Subject: [iText-questions] Re: Page headers corrupting nested Tables
> 
> Lee Ser Wei <serwei <at> singtel.com> writes:
> 
> > 
> > Hi all,
> > Am using nested Tables using insertTable() to created 
> irregular columned
> > rows for displaying mixed numeric and long text data.
> > But when I added a running Header using setHeaderText(), my 
> first nested
> > Table on a new page, or a page-straddling Table gets 
> corrupted and it
> > pushes all the subsequent data out of their cells (a direct vertical
> > displacement).
> > Can anyone advise a quick fix:
> > - I've tried fitsPage() on a child Table, dun work -- 
> assume it compared
> > this child Table against the document that hasn't added the parent
> > Table.
> > - I can't use fitsPage on the parent Table cos I've got not way to
> > remove the last inserted Table? (should I use addCell (childTable)?)
> > - I'm trying to use PdfPTable but it's a whole new paradigm in
> > formatting and I dun have the resources to recode everything.
> > 
> > Can anyone advise?
> > Thanks!
> > 
> > 
> > 
> > Hi 
> > all,
> > Am using nested 
> > Tables using insertTable() to created irregular columned 
> rows for displaying 
> > mixed numeric and long text data.
> > But when I added a 
> > running Header using setHeaderText(), my first nested Table 
> on a new page, or 
> a 
> > page-straddling Table gets corrupted and it pushes all the 
> subsequent data out 
> > of their cells (a direct vertical displacement).
> > Can anyone advise a 
> > quick fix:
> > - I've tried 
> > fitsPage() on a child Table, dun work -- assume it compared 
> this child 
> > Table against the document that hasn't added the parent 
> > Table.
> > - I can't use 
> > fitsPage on the parent Table cos I've got not way to remove 
> the last inserted 
> > Table? (should I use addCell (childTable)?)
> > - I'm trying to use 
> > PdfPTable but it's a whole new paradigm in formatting and I 
> dun have the 
> > resources to recode everything.
> > 
> >  
> > Can anyone 
> > advise?
> > Thanks!
> > 
> 
> 
> 
> 
> Hi all again!
> 
> (a)       parentTable.insertTable(rowTable);
> 
> //       if (pdfwriter.getTableBottom(parentTable) - 
> bottommargin < 5){
> //         parentTable.deleteLastRow();
> //         document.add(parentTable);
> //         document.newPage();
> //         parentTable.deleteAllRows();
> //         parentTable.insertTable(rowTable);
> //       }
> 
> adding the commented out chunk causes my (a) to give a 
> "setElement - position already taken"
> isolated to just this specific chunk of code, and the if has 
> never evaluated to 
> true at the poitn of failure.
> does getTableBottom modify anything?
> please advise, I can't seem to get table to properly cross a 
> page with a running 
> page header...
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: New Crystal Reports XI.
> Version 11 adds new functionality designed to reduce time involved in
> creating, integrating, and deploying reporting solutions. 
> Free runtime info,
> new features, or free trial, at: 
> http://www.businessobjects.com/devxi/728
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to