Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] Populate forms that do not use Acro Fields

Michael Schierl

2007-07-16

Replies:

On Sat, 14 Jul 2007 15:35:56 -0500, scott carter wrote:

> I have a collection of forms that I need to automatically populate based on
> data in our database.

Does it need to be a form afterwards or is it just for printing? In the
latter case, use a PdfStamper, get a PdfContentByte to lay over the page,
and add your texts on there (like it is done in the watermark example). You
will need a tool to get coordinates for that, GSView (from
http://www.cs.wisc.edu/~ghost/) does the job well for me (it shows
coordinates of the mouse pointer in the status bar).

Michael


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.