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 constructive comments.

You could compare JavaScript in PDF with JavaScript in HTML.
In HTML, you have JavaScript that is added on the document level
(e.g. functions that can be called from elsewhere in the file), but
you can also have JavaScript in tag attributes such as onClick="return 
someJs();".
In PDF, you can find similar JS snippets in action dictionaries.

I fear you'll have to read ISO-32000-1 as advised by Leonard.

------------------------------------------------------------------------------
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

Reply via email to