Re: [iText-questions] opening url in new window

2007-04-06 Thread tnavarra
Paulo, I do have a PdfWriter as one of the arguments. Tom > One of the arguments of PdfAction.javaScript() is a PdfWriter. > > Paulo > > > > De: [EMAIL PROTECTED] em nome de > [EMAIL PROTECTED] > Enviada: sex 06-Abr-07 16:34 > Para: Post all your questions about

Re: [iText-questions] opening url in new window

2007-04-06 Thread tnavarra
Paulo, Here is a code sample Document document = new Document(); ByteArrayOutputStream baos = new ByteArrayOutputStream(); PdfWriter writer = PdfWriter.getInstance(document, baos); Chunk link = new Chunk("<-- view page-->");

[iText-questions] opening url in new window

2007-04-06 Thread tnavarra
Thank you for your help. I am attempting to add a link within the PDF to open a page on the same domain in a new window. The following opens the link but in the same browser window. Chunk link = new Chunk("<-- view page -->"); link.setAction(PdfAction.gotoRemotePage("http://mydomain/mypage","pag

[iText-questions] [EMAIL PROTECTED]

2007-04-05 Thread tnavarra
I am receiving an exception on seemingly any javascript that goes over 100 characters. I am assuming that this has something to do with the compression of the string in the javascript method. Any thoughts would be appreciated. [4/5/07 14:59:57:750 EDT] 0022 SystemErr R java.lang.NullPoin