I figured out how to do this at the document-Level, but I'm still
struggling on how to do it at the page level. (ie.
<ACRO_source>ACRO_Page1.Page Open</ACRO_source>
any help?
doing a:
....
pdfStamper.addJavaScript('var allJSsmoked = true');
pdfStamper.setFormFlattening(true);
....
P.S. I've tried the setPageAction tag, but I can't it to work right.
Must be missing something.
-Deenis
Dennis Racine wrote:
Been doing some digging, and haven't seen a straight answer for this.
I have a bunch of pdf's that have a bit of javascript in them for making
sure they are only opened using our webservice. We're now offering a
option for our customers to save a flatted version of these files
locally, so i need to disable this script form running when the file is
converted to a flat pdf. I had a method of checking a hidden field that
worked ok, that is until acrobat 8 came out, and now it bitches about
running scripts from a local file. So I was thinking, why not see if
iText can just simply remove the javascript when I flatten the file (i'm
already using iText to do this)
So bottom line, is there a easy way to do this?
-Dennis
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
--
If this email is spam, report it here:
http://www.onlymyemail.com/view/?action=reportSpam&Id=MzEyMjU6NDc2Nzk0NjM2OmRlbm5pc0ByYWNpbmUtd2ViLmNvbQ%3D%3D
--
----------------------------------
Racine-Web Design
Dennis Racine
Tel. 530-470-8751
Fax (408) 904-4816
website: http://www.racine-web.com
[EMAIL PROTECTED]
Instant Messangers:
Yahoo: dennis_racine
MSN: [EMAIL PROTECTED] (IM Only)
AIM: DRacine33E
ICQ: 967354
----------------------------------
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/