Amit Sharma wrote: > I am able to get the JavaScript using PdfReader.getJavaScript > but I am not able to get the javascript associated with my actions
Actions are stored in a PDF document as a PDF dictionary. You can ask PdfReader to return any object in a PDF, including an action dictionary that is attached to the field dictionary of your button. There is no simple way to explain how to do this. You will have to read the PDF Reference for a more complete answer. Or maybe you may want to try PdfCopyFields instead of PdfCopy. PdfCopyFields preserves the forms in the documents that are merged (a button is part of a form). br, Bruno ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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/
