Re: PDF production with SVG having hot spots


Dan Caprioara
 

If you can switch from XSL-FO to CSS, please note that Oxygen XML Editor includes a DITA-OT plugin that outputs PDF based on a CSS customization (not XSL-FO) and it supports image map rendering and links in SVG images:

https://www.oxygenxml.com/doc/ug-ope/topics/dcpp_images.html#dcpp_how_to_use_image_maps

Many regards,

Dan

On 1/25/2021 1:28 PM, Pierre Attar wrote:
Hi,

I have a technical documentation with a lot of SVG files having hot spots.
Hotspots are managed using a javascript function call on g/@onmouseover attributes.
The function itself changes some opacity attributes of the graphic.
The HTML production works fine and all hotspots are active.

Using the same SVG, with the standard DITA-OT PDF (XSL-FO) plugin, the hotspots are no more active and all images are flats.

So, does someone foud a solution, a workaround, for keeping these kind SVG hotspots actives ?
Is there an other way to code SVG for being able to make them interactive both on PDF and HTML ?

Thanks for sharing any idea, solution,

Pierre




Join main@dita-users.groups.io to automatically receive all group messages.