[reportlab-users] canvas linkURL

Robin Becker robin at reportlab.com
Mon Mar 12 12:19:19 EDT 2007


George Kappel wrote:

> Users with Internet Explorer/Adobe Acrobat Reader open our generated pdf

> files but when they click on an external link we would like a new browser

> window to open

>

> Is it possible to pass a target="_blank" parameter to linkURL?

.......

I don't think so. According to the 1.4 PDF spec table 8.40 says

URI string (Required) The uniform resource identifier to resolve, encoded in
7-bit ASCII.

and I think URI's can't encapsulate the idea of a target window. Clearly they
could actually have an anchor in them, but that's not enough.
--
Robin Becker


More information about the reportlab-users mailing list