Apache OpenOffice (AOO) Bugzilla – Issue 49596
Dispatch Command ".uno:EditStyle" not interceptable in any case
Last modified: 2013-02-24 21:09:50 UTC
Hi, I'd like to avoid users to edit any styles in OpenOffice. First idea was to add "EditStyle" to the disabled commands under Commands.xcu. But this didn't work (others work fine). So I decided to implement a DispatchInterceptor for all open frames. I get the URL ".uno:EditStyle" if the user tries to edit a style via PopUpMenu within the document, but I don't get a command when the user selects "Modify" in the PopMenu of the StyleDialog. Btw.: I don't get any commands with DispatchInterception when calling ".uno:[CommandName]" with the DispatchHelper-service either (e.g. when dispatching command with OOoBasic). Any chance to get this work with the release of OOo2.0? bye Mathias
seems the stylist doesn't use the dispatcher of the frame it belongs too. The Interceptor registered at the DispatchProvider of the frame isn't called in case of calling the stylist's context menu.
Created attachment 26473 [details] complex testcase to reproduce the behaviour