Hello to all,
i try to embed a link to an external website into a pdf-file, generated with iText. Heres the code:
Phrase modul = new Phrase ("some text"); Chunk www = new Chunk ("www.arzneimittelinfoservice.de"); www.setAction(new PdfAction(new URL("http://www.arzneimittelinfoservice.de"))); Phrase xref = new Phrase(www); Phrase link = new Phrase("goto link: " + xref); ...
Problem: in the resulting pdf-doc the link referres to http://www.arzneimittelinfoservice.de], I can't get rid of the closing square bracket.
Perhaps someone can help me with this.
Thanks, Frank