RKVS Raman wrote:
Referring to  
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Disable_Commands
the code example shows how to enable the commands and make them usable
again.

Would this mean that if one of the extensions disables a set of
commands, it would be possible for another extension to enable it
again?

In that case it would not help the purpose. Is there a hierarchy of
permissions in extensions?

Hi Raman,

The OOo configuration supports to finalize entries, which means that they cannot be removed or changed later. Therefore you can use the "Disable Commands" feature for your use case. Nobody without write access to the OOo share configuration file would be able to remove your entries.

<node oor:name="D0" oor:op="replace" oor:finalized="true">
  <prop oor:name="Command">
    <value>Open</value>
  </prop>
</node>

Regards,
Carsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to