Re: [xep-support] making an image an external link

From: Alexander Peshkov (peshkov@renderx.com)
Date: Fri Jul 18 2003 - 03:49:58 PDT

  • Next message: Alexander Peshkov: "[xep-support] Re: [XSL-FO] RenderX API Support for ASP 3.0/ASP.NET languages"

    Hello Russ,

    The only workaround I can think of is to manually set height of
    fo:basic-link to be equal that of the image.
    Since inline height governed by text-altitude/text-depth properties
    you should use something like this:

        <fo:basic-link external-destination="url(http://www.foo.com)"
                       text-altitude="150px"
                       text-depth="0px">
           <fo:external-graphic src="url(foo.jpg)" height="150px"/>
        </fo:basic-link>

    Hope this helps.

    Best regards,
    Alexander Peshkov mailto:peshkov@renderx.com
    RenderX

    RB> i'm trying to make an image a link to an external document, but each
    RB> attempt only makes the bottom "line-height" portion of the image an
    RB> active link. i've looked through the archives and seen this topic
    RB> discussed, so i understand that the "line-height" behaviour is the
    RB> correct one, however i would like to know if it is possible to make the
    RB> entire image an active link. anyone have a workaround to make this
    RB> happen? any info appreciated. thanks,

    RB> Russ Burdick
    RB> rburdick@che.umn.edu
    RB> -------------------
    RB> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    RB> in the body of the message to majordomo@renderx.com from the address
    RB> you are subscribed from.
    RB> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html

    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



    This archive was generated by hypermail 2.1.5 : Fri Jul 18 2003 - 03:56:13 PDT