You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Kamal Bhatt <kb...@tt.com.au> on 2007/05/23 02:58:11 UTC

basic-link and external-graphic

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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: basic-link and external-graphic

Posted by Chris Bowditch <bo...@hotmail.com>.
Kamal Bhatt wrote:

> 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?

What version of FOP are you using?

Thanks,

Chris




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