Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Using Table in a PDF template

Mair, Paul

2006-07-12

Replies:

Hi,

I’m using iText to fill fields of a PDF template (prepared with Acrobat Professional).

I’m using the following method:

                                    PdfReader pdf = new PdfReader("c:/PDFTest.pdf");

                                    PdfStamper stp = new PdfStamper(pdf, new FileOutputStream("c:/test_output.pdf"));

                                    stp.getAcroFields().setField("MyTest", "New Text");

                                    stp.close();

 

Now I have to insert a table on the middle of the document with a variable length.

The text that comes after the table should be moved dynamically with the length of the table.

Unfortunately I haven’t found an example on how to do this.

Is it possible to do this with iText or someone has an idea of how to implement it.

Regards

Paul


-------------------------------------------------------------------------
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
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.