[iText-questions] addJavaScript doesn't work

2007-08-09 Thread Charles DESCHODT
Hello, I'm trying to open the print pop-up automaticaly when the pdf opening. I tried to do like in the SilentPrint iText Tutorial (http://itextdocs.lowagie.com/tutorial/#part1), but the addJavaScript method aways throw a NullPointerExcpetion ! I found a similar problem on the list (http://o

Re: [iText-questions] addJavaScript doesn't work

2003-06-16 Thread Paulo Soares
PdfStamper doesn't support interactive features, only adding content to pages. Best Regards, Paulo Soares --- $B6L1[(B <[EMAIL PROTECTED]> wrote: > Hi, > > addJavaScript throws NullPointerException in > PdfDocument.addJavaScript. > > PdfReader originalPDF = new > PdfReader("423599a_r.

[iText-questions] addJavaScript doesn't work

2003-06-15 Thread $B6L1[(B
Hi, (B (BaddJavaScript throws NullPointerException in PdfDocument.addJavaScript. (B (BPdfReader originalPDF = new PdfReader("423599a_r.pdf"); (BFileOutputStream os = new FileOutputStream( "addJavaScript.pdf" ); (BPdfStamper stamper = new PdfStamper(originalPDF, os); (