Fabian Köster wrote:
Hi list!
I recently spotted a interesting document on how to modify the context-menu of
OpenOffice.org using the OfficeBean.
(http://documentation.openoffice.org/HOW_TO/various_topics/HowTo_modify_context_menu.pdf)
Now I wonder if it is possible to modify the main-menu of OpenOffice.org with
this technique, too. This would be very nice!
I did not find anything about this, can you tell me more?
Hi Fabian,
That's not possible. I don't think it's a good idea to use a callback
function to change the menu bar (several hundred entries) on the fly. A
solution like that could significantly degrade the performance to open a
menu. A context menu normally contains about 10-30 entries.
There are other ways to change the menu bar via API. You should have a
look at the [email protected] mailing list where several solutions
were discussed in detail.
Regards,
Carsten
--
Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
Framework wiki: http://wiki.services.openoffice.org/wiki/Framework
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]