how do I get OpenAction
- From: steve poling <sdp (at) i2k.com>
- Date: Mon, 06 Nov 2006 12:35:24 -0500
Hi all,
Kudos to Paolo for cluing me into using PdfWriter.setOpenAction() to
control the zoom level.
I have unit tests that create PDFs with various attributes and the unit
test then opens the newly made PDF to inspect that same thing. OK, so I
know the JavaScript what I hope got put into the setOpenAction() and
I've got a PDF that I'd like to open, see if it has an Open Action, then
interrogate it to see if its JavaScript matches.
Will iText let me do this? I figure I can open the PDF using new
iTextSharp.text.pdf.PdfReader(filename), but I'm a little fuzzy after that.
Thanks in advance,
steve
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions