Re: [iText-questions] iText Acrofields and Javascript

2008-02-05 Thread 1T3XT info
Joe Gerew wrote: > I have been trying to extract the javascript text from an acrofield > field item. I have tried using both PdfName.ANNOT, ANNOTS, > JAVASCRIPT, and JS to no avail. The javascript was placed into the > acrofield using the actions tab on Adobe Acrobat. > > Can this be done?

Re: [iText-questions] iText Acrofields and Javascript

2008-02-04 Thread Joe Gerew
Leonard, Thanks, can you give me a short example? AcroFields.Item item = form.getFieldItem("field"); //Where do I go from here? Joe Gerew On Feb 4, 2008, at 1:24 PM, Leonard Rosenthol wrote: > YOu need to find the Actions of the field, then iterate over the > array of actions (or single action

Re: [iText-questions] iText Acrofields and Javascript

2008-02-04 Thread Leonard Rosenthol
YOu need to find the Actions of the field, then iterate over the array of actions (or single action if a Dictionary). Leonard On Feb 4, 2008, at 1:13 PM, Joe Gerew wrote: > I have been trying to extract the javascript text from an acrofield > field item. I have tried using both PdfName.ANNOT,

[iText-questions] iText Acrofields and Javascript

2008-02-04 Thread Joe Gerew
I have been trying to extract the javascript text from an acrofield field item. I have tried using both PdfName.ANNOT, ANNOTS, JAVASCRIPT, and JS to no avail. The javascript was placed into the acrofield using the actions tab on Adobe Acrobat. Can this be done? Thanks, Joe Gerew --