Re: [xsl] Hotspot cross referencing in XSLFO

Subject: Re: [xsl] Hotspot cross referencing in XSLFO
From: Tony Graham <Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 29 Jul 2008 12:14:17 +0100
On Mon, Jul 28 2008 17:00:42 +0100, sarkups@xxxxxxxxx wrote:
> Is there any way to cross reference hotspots on figures in XSLFO? 

I have a feeling that this has come up before, but I can't think where.

About all that I can think of/remember is:

 - Put the graphic in a fo:block-container

 - Use fo:basic-link containing fo:block-container for the (rectangular)

   The fo:basic-link for the hotspots would also be in the containing
   fo:block-container.  Their fo:block-containers would each have
   absolute-position="absolute" so you can position them inside the
   containing fo:block-container.  They would also have a z-index value
   that puts them in front of the graphic.

It would, of course, be simpler if you could use a graphic format that
natively supported hotspots, though I can't actually of any except
possibly SVG or PDF encapsulated in PDF.


Tony Graham                         Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx
Director                                  W3C XSL FO SG Invited Expert
Menteith Consulting Ltd
XML, XSL and XSLT consulting, programming and training
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
Registered in Ireland - No. 428599
  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
xmlroff XSL Formatter                     
xslide Emacs mode        
Unicode: A Primer                               urn:isbn:0-7645-4625-2

Current Thread