xsl-list
[Top] [All Lists]

Re: [xsl] Hotspot cross referencing in XSLFO

2008-07-29 04:14:48
On Mon, Jul 28 2008 17:00:42 +0100, sarkups(_at_)yahoo(_dot_)com 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)
   hotspots.

   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.

Regards,

Tony Graham                         
Tony(_dot_)Graham(_at_)MenteithConsulting(_dot_)com
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   http://www.menteithconsulting.com
  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
xmlroff XSL Formatter                               http://xmlroff.org
xslide Emacs mode                  http://www.menteith.com/wiki/xslide
Unicode: A Primer                               urn:isbn:0-7645-4625-2

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--