Modifying the Symbols menu

Post here questions and problems related to oXygen frameworks/document types.
BB_[A]
Posts: 12
Joined: Tue Jun 02, 2020 1:50 am

Modifying the Symbols menu

Post by BB_[A] » Sat May 15, 2021 1:07 am

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,
Bill Burns
bb@simplea.com
512-646-2100
--
We are [A]
simplea.com

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

Re: Modifying the Symbols menu

Post by Radu » Tue May 18, 2021 7:24 am

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

BB_[A]
Posts: 12
Joined: Tue Jun 02, 2020 1:50 am

Re: Modifying the Symbols menu

Post by BB_[A] » Tue May 18, 2021 4:18 pm

Hi, Radu.

Sounds like the author actions are the way to go, but I would be interested in the plugin approach as well.

Thanks,
Bill Burns
bb@simplea.com
512-646-2100
--
We are [A]
simplea.com

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

Re: Modifying the Symbols menu

Post by Radu » Wed May 19, 2021 6:57 am

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

Post Reply