Page 1 of 1

Customizing Default Options with a Framework

Posted: Tue Jul 14, 2020 4:51 pm
by GusRiva
Hi,

I have a custom framework which I am deploying as add-on (following instructions)

I would like to impose Custom Options for the users when editing files associated with this framework, without them having to copy a .xpr file or installing a new plugin. Is there a way to include a custom options xml file or plugin together with the framework?

Re: Customizing Default Options with a Framework

Posted: Wed Jul 15, 2020 7:13 am
by Radu
Hi,

A framework is used to provide extra editing support for a certain XML vocabulary, it is activated when the end user opens a certain type of XML document, so it cannot contain inside a plugin or options which globally influence Oxygen's functionality.
But you can do things the other way around, you can have an Oxygen plugin (packed as an addon) which contributes an extra frameworks folder in the plugin.xml:

https://www.oxygenxml.com/doc/versions/ ... nsion.html

Regards,
Radu