On 31/05/2011 16:41, grv1984 wrote: > Guys, any thoughts on this ? Please let me know.
Calling JavaScript when opening a PDF document isn't difficult: - JavaScript added at the document-level will be executed when opening the document, - better yet: you can add an open action to the document. This is described in the documentation (chapter 7), hence why nobody answers (if it's in the manual, you should read the manual). However: you're talking about JavaScript in XFA, and you're removing the XFA. If the JS method that is called is part of the XFA, you can't call it from an open action. You'll have to add the JS method you want to call along with the open action. ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
