Page 1 of 1

Customizing Entity tool box

Posted: Wed Mar 17, 2010 6:37 pm
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

Re: Customizing Entity tool box

Posted: Thu Mar 18, 2010 11:41 am
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

Re: Customizing Entity tool box

Posted: Tue Apr 06, 2010 8:23 pm
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

Re: Customizing Entity tool box

Posted: Wed Apr 07, 2010 11:02 am
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

Re: Customizing Entity tool box

Posted: Wed Apr 07, 2010 11:06 am
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