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

Disable Commands

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


Joined: 14 Jun 2005
Posts: 2

PostPosted: Tue Jun 14, 2005 4:29 am    Post subject: Disable Commands Reply with quote

Hi,

How Can I disable commands (Open, SaveAs) by OpenOffice macro?

I did it by xml file but I must do it by Macro.

I've read paragraph 4.7.4 on Developer Guide but it was written for java.

Many thanks.

Umberto.
Back to top
View user's profile Send private message
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Tue Jun 14, 2005 6:53 am    Post subject: Reply with quote

There is an API in OOo 2.0 for manipulating the menus.

I have not played with it yet.

But here is a related thread....
http://www.oooforum.org/forum/viewtopic.phtml?p=75016#75016
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
umbertoz
Newbie
Newbie


Joined: 14 Jun 2005
Posts: 2

PostPosted: Fri Jun 17, 2005 12:10 am    Post subject: Reply with quote

Thanks for your posts.

umberto.
Back to top
View user's profile Send private message
SergeM
Super User
Super User


Joined: 09 Sep 2003
Posts: 3211
Location: Troyes France

PostPosted: Fri Jun 17, 2005 8:58 am    Post subject: Reply with quote

You can find a C++ example here :
How to change a menu action with Dispatch Interceptor in C++ http://www.oooforum.org/forum/viewtopic.phtml?t=16224
_________________
Linux & Windows OOo3.0
UNO & C++ : WIKI
http://wiki.services.openoffice.org/wiki/Using_Cpp_with_the_OOo_SDK
In French
http://wiki.services.openoffice.org/wiki/Documentation/FR/Cpp_Guide
Back to top
View user's profile Send private message Visit poster's website
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