Julien Galand wrote:
Hi everybody,

I would like to register a protocol handler of my add-on dynamically, that is, without modifying the "/org.openoffice.Office.ProtocolHandler/HandlerSet" node of the OO user configuration file (whether by a .xcu or by using the configuration API). This way has some drawbacks (hinders the speed of OO's startup, and leaves an entry in this file when the add-on is uninstalled).
Hi Julien,

Normally the entry will be removed if someone deinstalls your add-on. If you use the configuration API it would be persistent and independent from the life-cylce of your add-on. The performance impact on the startup speed is minimal (<1ms), therefore I don't think that you need a special solution.


Is it possible ?
It's not possible.


This entry seems mandatory in order for the protocol handler to be called.
I admit I haven't explored the "dispatch interception" mechanism, which maybe could give me an alternative.
A dispatch interceptor can only intercept available commands, therefore I don't see it as an alternative.

Regards,
Carsten

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

Reply via email to