Do you
mean getOverContent(pageNum) instead of
getUnderContent(pageNum)?
I have
the problem with the check boxes too. The check boxes I had before didn't work
with getUnderContent(pageNum), now they work with getOverContent(pageNum). Now I
run into a new pdf file with some check boxes don't work.
Anyone
has any ideas?
Thanks,
Ping
-----Original Message-----
From: tom smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 12:49 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: Gao, Ping
Subject: stamped.java example /Merging PDF files>From: "Paulo Soares" <[EMAIL PROTECTED]> >To: "tom smith" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> >CC: "Gao, Ping" <[EMAIL PROTECTED]> >Subject: RE: [iText-questions] stamped.java example /Merging PDF files >Date: Tue, 6 Jan 2004 10:56:33 -0000 > >It works but there's more than meets the eye. You may have a page with a crop area and everything placed there will not show. You may also have a white area and trying to stamp underneath it won't show anything; stamp over the page in this case. > >Best Regards, >Paulo Soares > > > -----Original Message----- > > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of tom smith > > Sent: Tuesday, January 06, 2004 3:34 > > To: [EMAIL PROTECTED] > > Subject: [iText-questions] stamped.java example /Merging PDF files > > > > Hi Everyone, > > > > I just started playing around with iText today, and used the setTextMatrix(int, int) and showText(String) methods to Stamp on exist pdf file as Paulo Soares's example showed, mostly it works fine, but there is a problem when I tried to stamp "Strings" to certain areas, somehow it doesn't work. Just wondering if anyone else had this problem. Please let me know how I can work around this problem if you have a solution! > > > > Thanks, > > > > TomI used the getUnderContent(pageNum) of PdfStamper, and it worked on the ones I had problem with text fields. But still some of the check boxes don't work, and I couldn't stamp on top of the check boxes. Is that because of the crop area? How can I get round it?
Another question is when I try to read an exist pdf file which has forms in the end of the file. But the DumpFields example says "This document has no fields." Does anyone know why this is and how to get around this?
Thank you very much for any help!
Tom