There are two posibilities:
1) You have a dynamic XFA form (from Livecycle Designer). You'll have to use
the XfaForm object from AcroFields to inspect the fields.
2) In rare forms, fields are added to the pages, but not to the document-level
field array that AcroFields checks. It would appear that this is
"syntactically valid", just wildly unhelpful... "rude" even. iText doesn't
currently go looking for missing fields on a page-by-page basis, though it
could be modified to do so.
--Mark Storer
Senior Software Engineer
Cardiff.com
#include <disclaimer>
typedef std::Disclaimer<Cardiff> DisCard;
-----Original Message-----
From: Lucian Hancu [mailto:[email protected]]
Sent: Tuesday, February 16, 2010 12:59 AM
To: [email protected]
Subject: [iText-questions] No fields returned by AcroFields.Count
Dear all,
I have a major problem with itext, which has not been solved by version 5.0
My pdf has several fields, I can see them correctly in Acrobat 8.1.2 and above.
Itext instead returns 0 (zero) fields.
Please give me some hints in how to solve it
Thank you in advance
Lucian
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/