xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kibukj <kibu...@gmail.com>
Subject Re: PDF Links using Basic-Link
Date Thu, 24 Jan 2019 04:24:27 GMT
Your example appears to work for me.

What are you using to view the PDF? Could it be the PDF viewer you
are using does not support hyperlinks, or requires an extra key like
Ctrl+Left Click to activate a link?

Here is the complete minimal working example I tried:

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <fo:simple-page-master master-name="Page">
  <fo:page-sequence master-reference="Page">
    <fo:flow flow-name="xsl-region-body">
        <fo:basic-link color="blue" external-destination="url(http://www.lipsum.com/)">Lorem

And here is the PDF that produces:

Try opening that in the same PDF viewer, and see if the link works
for you.

Bjkyavuz <bjkyavuz@aol.com.INVALID> wrote:

> Hi guys,
> I am using FOP 2.1 to generate a PDF file with external hyperlinks. Even with this simple
syntax, I end up with just a text in the PDF that cannot be clicked:
> <fo:basic-link color="blue" external-destination="url(http://www.lipsum.com/)">Lorem
> Any clues as to what areas I could be digging deeper into to figure this out?
> Thanks for the help,Yavuz

To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message