Disable right click menu

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
Veles
Posts: 3
Joined: Tue Oct 14, 2008 6:22 pm
Location: Minsk, Belarus

Disable right click menu

Post by Veles »

Hello,

How I can disable right click menu in Writer after clicking on the document?
Regards,
Pavel
OOo 2.4.X on Ms Windows XP + Ububntu
User avatar
Bhikkhu Pesala
Posts: 1253
Joined: Mon Oct 08, 2007 1:27 am

Re: Disable right click menu

Post by Bhikkhu Pesala »

I am sure that you cannot, but why is it a problem?
Idiot Compassion
LibreOffice 6.0.4 on Windows 10
User avatar
TheGurkha
Volunteer
Posts: 6482
Joined: Thu Mar 13, 2008 12:13 pm
Location: North Wales, UK.

Re: Disable right click menu

Post by TheGurkha »

99% certain you can't do this.

What is it you are trying to achieve/prevent?
Ubuntu 14.10 Utopic Unicorn, LibreOffice Version: 4.3.3.2
Gurkha Welfare Trust
Veles
Posts: 3
Joined: Tue Oct 14, 2008 6:22 pm
Location: Minsk, Belarus

Re: Disable right click menu

Post by Veles »

I have readonly document. Window of Writer is integrated into my application, all menus are hidden. But there is "Edit" button in right click menu. And I want to prevent making this document editable.
Regards,
Pavel
OOo 2.4.X on Ms Windows XP + Ububntu
User avatar
TheGurkha
Volunteer
Posts: 6482
Joined: Thu Mar 13, 2008 12:13 pm
Location: North Wales, UK.

Re: Disable right click menu

Post by TheGurkha »

If you only want to display a document and not let them edit it, why not display a PDF of it?
Ubuntu 14.10 Utopic Unicorn, LibreOffice Version: 4.3.3.2
Gurkha Welfare Trust
Veles
Posts: 3
Joined: Tue Oct 14, 2008 6:22 pm
Location: Minsk, Belarus

Re: Disable right click menu

Post by Veles »

Writer can't open pdf documents...
Regards,
Pavel
OOo 2.4.X on Ms Windows XP + Ububntu
ms777
Volunteer
Posts: 177
Joined: Mon Oct 08, 2007 1:33 am

Re: Disable right click menu

Post by ms777 »

maybe http://www.oooforum.org/forum/viewtopic ... ht=context helps. It should be possible to remove unwanted menu entries. I have not tried, though
User avatar
TheGurkha
Volunteer
Posts: 6482
Joined: Thu Mar 13, 2008 12:13 pm
Location: North Wales, UK.

Re: Disable right click menu

Post by TheGurkha »

Veles wrote:Writer can't open pdf documents...
Actually Draw in OOo 3.0 can display and do some editing of PDFs, with a plug-in.

What i meant weas, if it was a PDF you wouldn't need to go to the bother of embedding OOo writer into your application. Display it in a PDF viewer.
Ubuntu 14.10 Utopic Unicorn, LibreOffice Version: 4.3.3.2
Gurkha Welfare Trust
Post Reply