As Ingo suggested, I'm forwarding this question (back) to where it started. :-)
Do you guys have a good suggestion? Thanks, Kohei ---------- Forwarded message ---------- From: Kohei Yoshida <[EMAIL PROTECTED]> Date: Nov 5, 2006 4:07 PM Subject: How to add menu dynamically To: dev@installation.openoffice.org Hi there, This question is related to this thread: http://framework.openoffice.org/servlets/ReadMsg?list=dev&msgNo=863 where I asked how best to add a menu item dynamically when --enable-scsolver is given at configure time, which enables the calc solver feature during the build. On that thread, we concluded that the best way to add the new "Solver..." menu is to use a UNO API to insert a new menu item at a desired location. Carsten Driesner demonstrated this in Basic, which I later ported to C++. I confirmed that it works. Now, I need to somehow find a way to make that UNO call before the user launches Calc for the first time after installation, but I'm not sure how that could be achieved. I've been thinking of finding a suitable UNO interface to implement in my Solver component and have it called during or post installation in order to add the new menu item. But I need some help on this. Is there a good UNO interface to implement for a simple task like this, and is there a way to call its exported method sometime before the first launch of Calc after installation? Thanks for your advice, Kohei --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]