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, 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 > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
