Customizing Default Options with a Framework

Post here questions and problems related to oXygen frameworks/document types.
GusRiva
Posts: 1
Joined: Tue Jul 14, 2020 4:44 pm

Customizing Default Options with a Framework

Post by GusRiva » Tue Jul 14, 2020 4:51 pm

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?

Radu
Posts: 7029
Joined: Fri Jul 09, 2004 5:18 pm

Re: Customizing Default Options with a Framework

Post by Radu » Wed Jul 15, 2020 7:13 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply