[xep-support] Re: Links around image

Bisswanger, Ramon ramon.bisswanger at dxc.com
Sun Aug 5 13:39:16 PDT 2018


Hi Jirka,

A similar question was once asked on Stack Overflow:
https://stackoverflow.com/questions/8532265/how-to-make-an-image-a-hotspot-using-fobasic-link

If you change your FO accordingly, it works here using XEP:

        <fo:basic-link external-destination="url(http://kosek.cz)" text-altitude="155px">
          <fo:external-graphic src="url(mzr90.jpg)" />
        </fo:basic-link>


Mit freundlichen Grüßen / Best Regards
Ramon Bißwanger


Ramon Bißwanger
Senior Solution Architect

Analytics & Data Management
DXC Technology

+49 (152) 0165 0272 mobile | ramon.bisswanger at dxc.com
EntServ Deutschland GmbH | Schickardstraße 32 | 71034 Böblingen | Germany | www.dxc.technology

Geschäftsführer: Michael Eberhardt, Joachim Löffler
Sitz der Gesellschaft: Böblingen, Amtsgericht Stuttgart HRB 757510
VAT ID: DE307881136
-----Original Message-----
From: Xep-support [mailto:xep-support-bounces at renderx.com] On Behalf Of Jirka Kosek
Sent: Sonntag, 5. August 2018 22:12
To: Xep-Support <xep-support at renderx.com>
Subject: [xep-support] Re: Links around image

On 1.8.2018 13:31, Jirka Kosek wrote:
> Problem is that active area in the resulting PDF generated by XEP is 
> not a whole image just bottom part of it, roughly corresponding to 
> line-height. Is there any trick how to make complete image clickable 
> not just small part of it?

I'm attaching sample demonstrating the problem together with properly working PDF (created by AHF). We are stuck with this limitation on the project right now, so any solution would be welcomed.

			Jirka

--
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka at kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
     Professional XML and Web consulting and training services DocBook/DITA customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------


More information about the Xep-support mailing list