| View previous topic :: View next topic |
| Author |
Message |
dvaradharajan Power User


Joined: 02 Sep 2004 Posts: 81 Location: Chennai, India
|
Posted: Mon Oct 25, 2004 10:03 am Post subject: How to add my menuitem to openoffice menu |
|
|
Hi,
I want to add my menuitem to right click menu in calc. I didnt want to deploy it as component. Otherwise i want to add some controls to either menu bar or formul bar.
Any clues..
Thanks,
Dinesh _________________ There's always one more bug- Murphy's law |
|
| Back to top |
|
 |
Cybb20 Super User


Joined: 02 Mar 2004 Posts: 1569 Location: Frankfurt, Germany
|
Posted: Mon Oct 25, 2004 4:59 pm Post subject: |
|
|
Changing the context menu invoked by a right-click is probably not possible.
One thing is sure, if you need to deal with context menues you definately need to register a component, in this case you would need a DispatchInterceptor which would communicate with the XContextMenuInterceptor. But I think this is all about what action takes place, so it's about functionality, not about how the context menu looks.
Thus I don't know of any way to add items to the right-click popup menu, other than hacking the source code.
Christian _________________ - Knowledge is Power - |
|
| Back to top |
|
 |
|