👋 This repository was migrated to https://github.com/acolad-digital/com.acolad.imagemap-pdf
com.amplexor.imagemap-pdf is a plugin for the DITA-OT that extends the org.dita.pdf2 plugin to manage DITA imagemap element in PDF.
Tested on DITA-OT 3.X. with Antenna House 6.6 and 7.x.
Some limitation exists with FOP (tested with FOP 2.4): internal link between image map area and an @id
on dita content doesn't work.
- DITA-OT 3.2 and newer: run
dita --install com.amplexor.imagemap-pdf
- DITA-OT 3.1 and older: run
dita --install https://github.com/Amplexor/com.amplexor.imagemap-pdf/releases/download/v1.0/com.amplexor.imagemap-pdf-v1.1.zip
- imagemap.hotspot.enabled: set to "yes" to enable imagemap hotspot insertion in the generated PDF.
- imagemap.hotspot.shape.color: defines hotspot shape color. The default value is 'blue'.
- imagemap.hotspot.text.color: defines hotspot text color. The default value is 'white'.
To use this plugin with Antenna House you have to change pxpi property in your AHFSettings.xml:
<formatter-settings pxpi="72"/>
No warranty of any kind is provided. You can however open issues in the GitHub project to report errors, suggest enhancements or evolutions, ask questions.