jayakumar venkatapathy wrote:

Hai,
<>It is possible to delete a table that is written just before in the PDF file using Java Code.

No, but when I look at your scenario:

Senario: I am writting the tables in PDF file.
             when I found new page is opened,
             then I have to remove the table just added
<>             and I have to add new table instead that.

I think the best way to do this, is to use one of the constructions
that allows you to find out if the table fits the page BEFORE
actually writing it to the page.
See http://itextdocs.lowagie.com/tutorial/objects/columns/
Add the table to a ColumnText object and perform a
go action in simulation mode. Make sure to add the table
a second time to the ColumnText object. If the simulation
indicated that the table fits on the current page, add the
column to the current page; if it didn't fit, perform a newPage()
and add the column on the next page.
br,
Bruno
<>



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to