ILDAR Admirer wrote:
> Hello.
> 
> I generate pdf with some input fields. And in this page present a button. I 
> want if i press on it -all content from current page  copying in next (just 
> created / blank page). Or current page copying and then pasting after current 
> page. 
> I tried to tie a javaScript function :
>         this.insertPages({cPath:this.path });  
> on this button, but  A. reader generate exception: notAllowed error (security 
> ....)
> Is it possible? Can you help me, please?

Check Adobe's JavaScript Scripting Reference.
Every method has a series of icons that show you which method:
- only works in the full Acrobat
- only works in Reader Enabled PDFs
- always works
- etc...
As you are talking about JavaScript inside a PDF,
this is an off-topic question on the iText mailing list.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to