Customizing Entity tool box

Oxygen general issues.
guna@ebscohost.com
Posts: 27
Joined: Tue Nov 17, 2009 10:16 pm

Customizing Entity tool box

Post by guna@ebscohost.com »

hi,
in entity tool bar(perspective>show view> entities), we have lot of items in the list, Our Users uses only some of the entities. is there a way to customize the entities show in the list.

Thanks
Guna
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Customizing Entity tool box

Post by Radu »

Hi Guna,

Oxygen automatically collects the entities which appear in the view from the associated DTD grammar.

If for example you make a Docbook DTD customization with fewer entities and use it in Oxygen the view will have only the detected entities.
I will assume you have the XML edited with Docbook 4.4, having the public ID something like:

Code: Select all

<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.docbook.org/xml/4.4/docbookx.dtd">
In the OXYGEN_INSTALL_DIR/frameworks/docbook/4.4/dtd directory there is a DTD file called dbcentx.mod which references all entity files located in the OXYGEN_INSTALL_DIR/frameworks/docbook/4.4/dtd/ent subfolder.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
guna@ebscohost.com
Posts: 27
Joined: Tue Nov 17, 2009 10:16 pm

Re: Customizing Entity tool box

Post by guna@ebscohost.com »

is there any way overide this entity population with different mechanism. we have nlm.dtd , which has lot of built in entity,

but our editor's uses only 25-30 of them. so we would show only entities used by our users.

the constraint is , we cannot touch the nlm.dtd since it has been provided with our x'ternal vendor.

Thanks
Gun
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Customizing Entity tool box

Post by Radu »

Hi Guna,

No, the solution described earlier is the only one.
You can for example add some catalog entries which would map from the nlm.dtd which cannot be modified to a simpler dtd.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Customizing Entity tool box

Post by Radu »

Of course you can make your own Author custom action to show a dialog to the user with only a few entities from which he can insert and hide the entities view completely.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply