AW: [jdom-interest] Hyperlink in PDF

Patrick Refondini patrick.refondini at pobox.com
Mon Nov 11 02:12:11 PST 2002


Hirschmann, Bernhard wrote:

>Hey Bob,
>
>  
>
>>>In a PDF it is possible to integrate a hyperlink heading the browser to
>>>      
>>>
>this
>  
>
>>>URL. 
>>>      
>>>
>
>  
>
>>Yes.
>>    
>>
>
>  
>
>>>Can I do that by using JDOM for gererating a PDF?
>>>      
>>>
>
>  
>
>>Um, what?
>>    
>>
>
>
>What I want to know is, if it is possible to create a PDF with a FOP
>transformation containing a hyperlink?
>
>(Is the question clear now? Otherwise point me to your problem, please. I
>hope I can specify the question then.)
>
>Bernhard
>_______________________________________________
>To control your jdom-interest membership:
>http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
>
>
>  
>
Hi,
I know it's not the right list but if it can be of any help to Jdom 
users I'll be pleased :)
Provided you have a link element with url and name attributes, something 
like:
<link name="JDOM Home" url="http://www.jdom.org" />

<xsl:template match="link">
  <fo:basic-link color="blue" external-destination="{@url}">
    <xsl:value-of select="@name"/>
  </fo:basic-link>
</xsl:template>

Patrick






More information about the jdom-interest mailing list