But there is no component registration in the package; in particular no registration of the implementation of the service of the protocol handler. Instead, the service of the protocol handler is registered dynamically by the executable component of my add-on, therefore necessarily LATER than OO's reading of the .xcu file.
So what you are trying to do is that you have your own wrapper app which creates a toolbar at run time and the component is never deployed into openoffice ? On 11/2/06, Julien Galand <[EMAIL PROTECTED]> wrote:
Hi to all, My add-on has a toolbar created by a .xcu file, with the right protocol handler declared (as a node "org.openoffice.Office.ProtocolHandler/HandlerSet" of the configuration file). But there is no component registration in the package; in particular no registration of the implementation of the service of the protocol handler. Instead, the service of the protocol handler is registered dynamically by the executable component of my add-on, therefore necessarily LATER than OO's reading of the .xcu file. => The toolbar items are shown disabled, probably because the protocol handler service couldn't be instanciated at the time the toolbar was created. Is there a way to ask OO to re-scan the toolbar items to bind them to the protocol handler, which will likely make them enabled ? Thank you if you have some hint... Julien Galand --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
