Page 1 of 1
Processing instructions for reused content
Posted: Wed Jun 29, 2016 9:16 pm
by urbanrobots
hi~ We like how Oxygen XML Editor renders topics referenced by a key in the DITA Maps Manager. The user interface renders something like:
keydef -> filename
We do not always use keys for reused topics. Is there a way to insert processing instructions in the topics (or something like that) to tell Oxygen XML Editor to render files in DITA Maps Manager in a certain way?
thanks~ nicholas
Re: Processing instructions for reused content
Posted: Thu Jun 30, 2016 8:59 am
by Radu
Hi Nicholas,
We have some Java-based API which would allow you to control the icons and names which appear in the DITA Maps Manager view so if you want this approach I could try to give you more details...
Regards,
Radu
Re: Processing instructions for reused content
Posted: Thu Jun 30, 2016 5:16 pm
by urbanrobots
Hi Radu,
Yes, please. That would be great. Thanks,
Nicholas
Re: Processing instructions for reused content
Posted: Fri Jul 01, 2016 2:33 pm
by Radu
Hi Nicholas,
Our Java SDK can be downloaded from here:
https://www.oxygenxml.com/oxygen_sdk/download.html
We have a topic describing how an XML Node Renderer customizer should be used:
https://www.oxygenxml.com/doc/versions/ ... mizer.html
Basically in the
Document Type Associations preferences page if you extend or edit the "DITA Map" document type association, it has a
Classpath tab where you can add your additional JAR library and an
Extensions tab where you can configure that individual extension.
Your implementation should probably extend the
ro.sync.ecss.extensions.dita.DITANodeRendererCustomizer.DITANodeRendererCustomizer() base class which already has some DITA-related customizations and delegate to the base implementation for most references.
Regards,
Radu