Re: Registration of an accelerator at extension installation

2015-06-24 Thread Oliver Brinzing
Hi Amenel, you can use an Accelerators.xcu file in you extension, for example: [...] service:my.extension.Service?myParam1 and register it during extension installation, for example add to the manifest.xml of your ex

Re: need some help to Accelerators.xcu

2015-06-24 Thread Amenel VOGLOZIN
Oliver, I have followed your Basic code below and adapted it to Java and I can confirm that it works for the intended purpose of binding a shortcut key to an extension command. Thank you. De : Oliver Brinzing À : api@openoffice.apache.org Envoyé le : Mercredi 17 juin 2015 20h36 Obje

Registration of an accelerator at extension installation

2015-06-24 Thread Amenel VOGLOZIN
Hi, Thanks to a recent post to this mailing list, I have been able to bind a shortcut key, a.k.a accelerator, to a command of my extension. However, I am facing the problem that the accelerator becomes active only when the main window of the extension is opened or put differently, when the exten