Hello,
I have to deal with the same issue the last days, open the link in a new
window. But I had to solve it in the browser plugin, because it should work
for a webapp. Solved it with a workaround and the help of pdf-javascript
function app.launchURL("http://www.yourlink.de", true). I didn't find a way
to define javascript directly in the fo-file, so I made the change in the
generated pdf-bytestream. I put the function as value for the
external-destination attribute of the fo:basic-link. In the processed pdf
this results to the following code:
<< /URI (app.launchURL("http://www.yourlink.de", true);) /S /URI >>
In my application I changed this with RegExp to:
<< /S /JavaScript /JS (app.launchURL("http://www.yourlink.de", true);) >>
The link then opens in a new browser window.
Hope this can help.
Uli
Andreas Delmelle-2 wrote:
>
> On 21 Feb 2011, at 16:25, Jeremias Maerki wrote:
>
> Hi
>
>> Is this issue is still there or it is fixed in FOP 1.0 version?
>> If so, what I can do at my side?
>
> In addition to what Jeremias mentioned, I also remember from when
> implementing this, that the Adobe browser plugin does not respect the
> corresponding PDF flag.
> See also the remark on the compliance page:
> http://xmlgraphics.apache.org/fop/compliance.html#fo-property-show-destination
>
> Try following the same external link after opening the PDF in the
> standalone Adobe Reader, and it should open a new Adobe Reader window.
> From within the browser, no such luck, but this seems like an issue with
> the plugin. Not something that FOP can solve...
>
>
> Regards,
>
> Andreas
> ---
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://old.nabble.com/fo%3Abasic-link-show-destination%3D%22new%22-status-tp30975133p31016279.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]