Re: [iText-questions] detecting presence of Javascript and OpenActions in PDF

2011-03-05 Thread 1T3XT BVBA
Op 5/03/2011 6:29, webtrol schreef: > Just to clarify: Does reader.getJavaScript() return all the JS in the file? It returns all the JavaScript stored in the Names name tree, but as Leonard rightly pointed out, JavaScript can be stored in other objects as well. > I very much appreciate all cons

Re: [iText-questions] detecting presence of Javascript and OpenActions in PDF

2011-03-04 Thread webtrol
Just to clarify: Does reader.getJavaScript() return all the JS in the file? I very much appreciate all constructive comments. As always, Yes Im reading Itext life, and looking at PDF spec, but as a new user it will be a while before I run out of the easy questions. Sincerely, Trol -- View thi

Re: [iText-questions] detecting presence of Javascript and OpenActions in PDF

2011-03-04 Thread Leonard Rosenthol
ginal Message- From: webtrol [mailto:[email protected]] Sent: Friday, March 04, 2011 3:49 PM To: [email protected] Subject: Re: [iText-questions] detecting presence of Javascript and OpenActions in PDF Question 1: Do you know the answer to the first question:

Re: [iText-questions] detecting presence of Javascript and OpenActions in PDF

2011-03-04 Thread webtrol
Question 1: Do you know the answer to the first question: Does reader.getJavaScript() return all the JS in the file? Question 2: Do you have best recommendation on method of doing it. Remember I'm only interested in detecting not in making any changes. I was considering: Getting the number of obj

Re: [iText-questions] detecting presence of Javascript and OpenActions in PDF

2011-03-04 Thread Leonard Rosenthol
@lists.sourceforge.net 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

[iText-questions] detecting presence of Javascript and OpenActions in PDF

2011-03-04 Thread webtrol
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. Que