#2 - yes, you do. In addition, there are lots of other places in a PDF that you can find actions (and JavaScript). Are you going to check all of them also?
Leonard -----Original Message----- From: webtrol [mailto:[email protected]] Sent: Friday, March 04, 2011 1:16 PM To: [email protected] Subject: [iText-questions] detecting presence of Javascript and OpenActions in PDF Hi, Please forgive me basic nature of my questions, but im new to Itext. I would like to detect presence of any JS or OpenAction (/AA /JS etc) in a pdf. Using PdfReader I can either do reader.getJavaScript() <--- question 1 does that give me JS from the whole document or just front page etc. Question 2. Do I have to check check each page seperatly for OpenActions? Sincerely, Trol -- View this message in context: http://itext-general.2136553.n4.nabble.com/detecting-presence-of-Javascript-and-OpenActions-in-PDF-tp3335723p3335723.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText® 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 ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText® 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
