[EMAIL PROTECTED] wrote: > Here, I have attached a test.pdf file(i.e. existing pdf file) and I want > to display the xml request content (see whatever I mentioned in previous > mail information) into that corresponding columns.
This is the content of the page you have sent: q BT 80 792 Td 0 -18 Td ET Q q Q q 2 J 0 G Q BT 1 0 0 1 82 781 Tm /F1 9 Tf (Name#:)Tj ET BT 1 0 0 1 120.14 781 Tm /F1 9 Tf (Name#:)Tj ET BT 1 0 0 1 196.43 781 Tm /F1 9 Tf (Address:)Tj ET BT 1 0 0 1 450.71 781 Tm /F1 9 Tf (Address:)Tj ET 75 774 455 23 re S If you can read PDF syntax, it's easy to find the coordinates, however: to do this programmatically, especially when the document gets more complex, IS VERY DIFFICULT, IF NOT IMPOSSIBLE!!! > I am new for using iText so, can you give me any simple example to find > out the co-ordinatesXY(please don't mine..). You won't find any simple example, because what you are asking is one of the most complex issues in PDF. My advice: tell the person who asked you to do this job, that the given PDF document IS NOT A TEMPLATE!!! Ask him to provide a PDF template that contains form fields (preferably in AcroForm format). -- This answer is provided by 1T3XT BVBA ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/