Page 1 of 1
Modifying the Symbols menu
Posted: Sat May 15, 2021 1:07 am
by BB_[A]
Thought I posted this yesterday, but I can't find it in my list of posts.
I'm developing a customer framework for a client.. extending the DITA framework. They've requested to have a number of common characters added to the Symbols menu. Just looking at the Author tab of the Document Type dialog, I'm not see a clear way to do this. The Symbol control isn't available there. Is there a way to populate the Symbol menu directly in the framework file? WOuld I need to do this by developing and adding a custom action?
Thanks,
Re: Modifying the Symbols menu
Posted: Tue May 18, 2021 7:24 am
by Radu
Hi Bill,
I removed your duplicate forum post.
The Symbols drop down is not specific to the DITA framework, so it's placed on a general purpose toolbar which cannot be changed by modifying the DITA framework configuration.
The default list of symbols available there could be controlled by creating an Oxygen plugin which imposes a fixed set of settings when Oxygen starts. So I can try to give you more details about this if you want.
Or you can configure the DITA framework extension and on the DITA specific toolbar add a custom drop down button containing several Author actions, each inserting a special symbol, adding there all the symbols that this particular client may use, duplicating in a way part of the Symbols toolbar.
Regards,
Radu
Re: Modifying the Symbols menu
Posted: Tue May 18, 2021 4:18 pm
by BB_[A]
Hi, Radu.
Sounds like the author actions are the way to go, but I would be interested in the plugin approach as well.
Thanks,
Re: Modifying the Symbols menu
Posted: Wed May 19, 2021 6:57 am
by Radu
Hi Bill,
About the plugin approach I created a small sample Oxygen Javascript-based plugin which imposes using our API a fixed value for the "recently.used.characters" key:
https://github.com/oxygenxml/wsaccess-j ... ption-keys
A plugin can be packed as an add-on, placed on an internal web site and then installed in Oxygen via it's main menu Help->"Install new add-ons" functionality:
https://www.oxygenxml.com/doc/versions/ ... ddons.html
Regards,
Radu