Page 1 of 1

Adding custom pre-process param to all transtypes

Posted: Tue Sep 13, 2016 3:23 pm
by Patrik
I created a custom pre-process step for DITA-OT that has it's own parameter. To make it visible in oXygen when configuring a transformation scenario I added it to my custom transtype in the plugin.xml.
But actually my plugin will affect any transtype. So I'm wondering if there is already any mechanism to add a global parameter so oXygen will list it for any transtype - including those I didn't create on my own.

Thanks and regards,
Patrik

Re: Adding custom pre-process param to all transtypes

Posted: Tue Sep 13, 2016 3:50 pm
by Radu
Hi Patrik,

In your plugin.xml you should have something like this:

Code: Select all

    <transtype name="base" abstract="true">
<param name="paramName" desc="someValue" type="enum">
<val>true1</val>
<val default="true">false2</val>
</param>
</transtype>
Oxygen gathers all transtypes named "base" and contributes their parameters to all other non-abstract transtypes.

Regards,
Radu