OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

How to add my menuitem to openoffice menu

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
dvaradharajan
Power User
Power User


Joined: 02 Sep 2004
Posts: 81
Location: Chennai, India

PostPosted: Mon Oct 25, 2004 10:03 am    Post subject: How to add my menuitem to openoffice menu Reply with quote

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
View user's profile Send private message
Cybb20
Super User
Super User


Joined: 02 Mar 2004
Posts: 1569
Location: Frankfurt, Germany

PostPosted: Mon Oct 25, 2004 4:59 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group