Well, I already have a set of all the fields in any PDF; I was thinking
based on your original comments there were standard way of finding if a
form is submittable but it looks like you have to introspect each field
itself to find out?
Leonard Rosenthol wrote:
At 04:12 PM 10/10/2005, Neil Robertson-Ravo wrote:
Well, yeah we can dicate the Adobe Reader required.
>> Well, you can certainly tell if a PDF has an action associated
with it that is a "Submit Form" action - which is the simple &
historical way for form submission. This is well defined and not too
difficult to develop a test for (either with iText or other tools).
Any ideas where? Which classes? Sorry, I am 2 weeks into using iText
and a tad overwhelmed ;-)
Well, the first thing you need to do is familiarize yourself
with the PDF Reference and Actions. Actions can occur in MANY places
within a PDF - not just inside a "push button", and any of one of those
places can be a SubmitForm action.
Once you have that list of all the places you need to look -
find the associated class for that PDF object and use it in conjuction
with PdfReader to read the objects and their values.
Leonard
---------------------------------------------------------------------------
Leonard Rosenthol <mailto:[EMAIL PROTECTED]>
Chief Technical Officer <http://www.pdfsages.com>
PDF Sages, Inc. 215-938-7080 (voice)
215-938-0880 (fax)
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions