Le 17 oct. 06, à 17:02, Carsten Driesner a écrit :

You're right that these APIs are not well documented, only the IDL files have comments. That's one reason why they are currently not published. We want to finalize them for OpenOffice.org 2.2 (a formal process) and after finalization they cannot be changed in the future. As these services/interfaces are more than two years old and no big issues have been reported so far I would be very surprised, if there will be changes during the finalization process. Therefore we want to encourage you to use these services/interfaces to implement your add-on.


Thank you for this confirmation.

I have tried your alternative solution (using transient changes of the menu bar), and of course it works perfectly. It is far more better than my first implementation (persistent modifications through OO configuration), and as you have just told me, also reliable for the future. Thank you very much !

One last question about it :
Mathias Bauer has already answered to me that assigning keyboard shortcuts (such as Ctrl+F12) to add-on menus is presently not possible in OO 2.0.

But is it possible to DISPLAY only the shortcut (say, Ctrl+F12) in the menu line, so that it is right-justified on the line ? (Typically in the "transient change of the menu bar" method)
(and I implement the shortcut detection itself by a system hook).

Note :
I have tried to scan the OO menu bar to check what "Label" property it assigns to menu lines with a displayed shortcut, but I always get an empty string.
Maybe I made it wrong, but anyway I couldn't get any hint by this.

Julien

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

Reply via email to