same-named fields on a form
- From: steve poling <sdp (at) i2k.com>
- Date: Wed, 08 Nov 2006 11:45:16 -0500
Hi all,
I have created a PDF with Acrobat, manually inserting two (or more)
TextField's with the same name. When I open this PDF with Acrobat, all
the fields appear. I wrote a program to read the PDF and I see that
reader.AcroFields.Fields.Count corresponds to the number of "distinct"
field names. When I look at reader.AcroFields.Fields[fieldname] I note
that the attributes (page, tabOrder, etc.) occupy lists that are two (or
more) long. Happily, I see the same when I generate the PDF file with
iText (iTextSharp, actually), and read the file.
However, the machine-made PDF, when opened under Acrobat, only shows the
first field, I cannot see the duplicates. If I ask Acrobat about
annotations (via Document|Preflight... & analyze), it can see the dupes.
I set all fields BaseField.VISIBLE. If I tweak my program to generate a
PDF with distinct fieldname's Acrobat will show all my fields.
Where should I look to see what I'm doing wrong or not doing?
Thanks in advance,
steve
-------------------------------------------------------------------------
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 (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions