Hi Paulo,

Thanks for the help. Also for helping to get the watermark done without blocking the table borders.

I saw your recent post on the latest version of the jar file that has fixes for PdfPTable. I am having a PdfPTable with nested tables in some cells. If the nested table is larger than the page, as per the documentation, the row will be dropped leaving blank pages. Since the size of the nested table varies, I was trying to measure the remaining page space, check if the nested table can fit in that space and if not break the nested table into two or more and add to the PDF. But I read that the latest version can handle this issue and I downloaded the jar file and replaced the previous one. But I am having the same problem, the row with a nested table longer than the page is still dropped. Do I need to do something more to get it working? I am using cell padding for the cell that has the nested table to show the border of the inner table.

I found one more thing. If I use deleteRow(int rowNumber) to delete more than half the size of a table using a loop, it wont delete rows after deleting few rows (it deletes half of the total number of rows). How do I work around this?

Thanks a lot for your feedback.

Joseph


From: "Paulo Soares" <[EMAIL PROTECTED]>
Reply-To: "Paulo Soares" <[EMAIL PROTECTED]>
To: "Joseph Chakkungal" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: Re: [iText-questions] PdfPTable height
Date: Thu, 5 Aug 2004 11:32:37 +0100


You must call setTotalWidth() before.

Best Regards,
Paulo Soares

----- Original Message -----
From: "Joseph Chakkungal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 05, 2004 2:07
Subject: [iText-questions] PdfPTable height


> Hi,
>
> I am trying to get the height of a PdfPTable using getTotalHeight()
method.
> But it always returns 0.0 even though the table is having many rows. Am I
> doing some thing wrong? How can I get the total height of a PdfPTable
after
> adding some rows? Any input from you would help me a lot.
>
> Thanks,
>
> Joseph

_________________________________________________________________ Discover the best of the best at MSN Luxury Living. http://lexus.msn.com/



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to