You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "J.U. Anderegg" <ha...@bluewin.ch> on 2002/04/18 07:35:25 UTC

External Links

By looking at PDF I think a link has to be coded like this (copy in the
samples):

<fo:basic-link
external-destination="destination">link_rectangle</fo:basic-link>

o "destination": an URI, where it makes a difference if there is an
extension .pdf or not
o link_rectangle: the rectangle on the page to click on

So, if you want to have an image in the rectangle:

<fo:basic-link
external-destination="http://nagoya.apache.org/the_image_to_be_pointed_to.jp
g">
  <fo:external-graphic src="my_rendered_image.jpg"/>
</fo:basic-link>

The destination has to be a full URI for a file!


Hansuli Anderegg





---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org