Image Map PDF output
Oxygen general issues.
-
- Posts: 8
- Joined: Wed Feb 22, 2017 12:20 pm
Image Map PDF output
Hi Radu (assuming this goes to you),
I finally have Oxygen 19 with me and the feature is working superbly. I want to create a PDF with working image map. The Preview XHTML output works perfectly, but when I generate the PDF output, I can see only the image without the active hotspot links. Note, the XREFs in the body work perfectly, just the hyperlinks (hotspots) created through Image Map are missing. Is there any specific way to generate a PDF output for a DITA file having an Image Map?
I finally have Oxygen 19 with me and the feature is working superbly. I want to create a PDF with working image map. The Preview XHTML output works perfectly, but when I generate the PDF output, I can see only the image without the active hotspot links. Note, the XREFs in the body work perfectly, just the hyperlinks (hotspots) created through Image Map are missing. Is there any specific way to generate a PDF output for a DITA file having an Image Map?
Thanks and Regards,
Namita Rao
Namita Rao
-
- Posts: 9421
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Image Map PDF output
Hi Namita,
Right now the default PDF output for DITA does not show hotspots for image maps:
https://github.com/dita-ot/dita-ot/issues/1458
As sometimes the PDF is intended for print this is a feature which may not be implemented.
Regards,
Radu
Right now the default PDF output for DITA does not show hotspots for image maps:
https://github.com/dita-ot/dita-ot/issues/1458
As sometimes the PDF is intended for print this is a feature which may not be implemented.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9421
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Image Map PDF output
Hi Anne,
There is no setting for this, the XSLT stylesheet "OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT3.x/plugins/org.dita.pdf2/xsl/fo/ut-domain.xsl" has a template which matches the ut-d/imagemap and outputs the image and the list after it. Probably with a PDF customization plugin or folder you can override this template.
Or you can specify on each <area> element a deliveryTarget attribute:
and have a DITAVAL filter file specifically for PDF which excludes elements based on that particular delivery target value.
Regards,
Radu
There is no setting for this, the XSLT stylesheet "OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT3.x/plugins/org.dita.pdf2/xsl/fo/ut-domain.xsl" has a template which matches the ut-d/imagemap and outputs the image and the list after it. Probably with a PDF customization plugin or folder you can override this template.
Or you can specify on each <area> element a deliveryTarget attribute:
Code: Select all
<area deliveryTarget="html">....
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 24
- Joined: Wed Dec 05, 2018 2:48 pm
Re: Image Map PDF output
Hi Radu,
Thanks for your response. I thought about profiling with deliveryTarget. But it is not recognized by the system automatically, and profiling needs to be done as with any other custom profiling attribute, right?
How can this be done with a PDF customization plugin?
Regards,
Anne
Thanks for your response. I thought about profiling with deliveryTarget. But it is not recognized by the system automatically, and profiling needs to be done as with any other custom profiling attribute, right?
How can this be done with a PDF customization plugin?
Regards,
Anne
-
- Posts: 98
- Joined: Tue Mar 06, 2018 2:07 pm
- Contact:
Re: Image Map PDF output
Hi Radu,Radu wrote: ↑Wed Jul 26, 2017 8:56 am Hi Namita,
Right now the default PDF output for DITA does not show hotspots for image maps:
https://github.com/dita-ot/dita-ot/issues/1458
As sometimes the PDF is intended for print this is a feature which may not be implemented.
Regards,
Radu
Now a plugin is available here to manage imagemap element in PDF with SVG : https://www.dita-ot.org/plugins#!com.am ... agemap-pdf
Nicolas Delobel
AmeXio
nicolas.delobel at amexiogroup.com
AmeXio
nicolas.delobel at amexiogroup.com
-
- Posts: 9421
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Image Map PDF output
Hi,
If you publish DITA to PDF using our "DITA Map PDF - based on HTML5 & CSS" transformation scenario which uses our Chemistry engine to style the content using CSS, the image maps support should already work: https://www.oxygenxml.com/doc/versions/ ... mages.html
If you publish DITA to PDF using the XSL-FO based approach I'm afraid we do not have another solution for you, our main future improvement direction is the CSS-based PDF publishing.
Regards,
Radu
If you publish DITA to PDF using our "DITA Map PDF - based on HTML5 & CSS" transformation scenario which uses our Chemistry engine to style the content using CSS, the image maps support should already work: https://www.oxygenxml.com/doc/versions/ ... mages.html
If you publish DITA to PDF using the XSL-FO based approach I'm afraid we do not have another solution for you, our main future improvement direction is the CSS-based PDF publishing.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service