Hi Kamal, 

What you describe occurs with FOP 0.93 and latest TRUNK.

This seems to be a bug.
======================
The active area is limited to font-size.

The fo:basic-link return one or more inline areas, and one of these areas 
should be defined by the fo:external-graphic.
And the XSL-FO REC 1.1 [1] says: "...typically by clicking on any of the 
containing areas".

Can you please fill in a bug in bugzilla [2]?


Workaround:
===========
Adding the property font-size="{$banner_height}mm" elsewhere does the trick..

Note that thought FOP accepts this property in the fo:basic-link, it is not in 
the list of appliable properties for this FO in the spec [1].
Inserting a fo:wrapper in the fo:basic-link and giving it the property 
font-size is a good thing.


[1] http://www.w3.org/TR/xsl/#fo_basic-link
[2] http://issues.apache.org/bugzilla/enter_bug.cgi?product=Fop


> -----Message d'origine-----
> De : Kamal Bhatt [mailto:[EMAIL PROTECTED] 
> Envoyé : mercredi 23 mai 2007 02:58
> 
> Hi
> I am have the following:
>       <fo:block>
>         <fo:basic-link external-destination="{$banner_link}" 
> padding-top="{$banner_height}mm">
>           <fo:external-graphic
>             scaling="uniform"
>             src="{$logo}"
>             content-height="{$banner_height}mm"
>             content-width="60mm" />
>         </fo:basic-link>
>     </fo:block>
> Where $logo is set to a gif file and $banner_link is 
> "http://www.google.com";. The link appears only at the bottom 
> of the image. Is there a way  I make the whole image a link?
> 
> Cheers.
> 
> --
> Kamal Bhatt


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to