Still able to copy text after disabling command

Lucas da Cunha lucas.cunha at softexpertjlle.onmicrosoft.com
Fri Apr 29 14:31:41 UTC 2016


Hello there,


I'm trying to disable Copy (ctrl + C) using java UNO API. I could find this example: https://wiki.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Disable_Commands and it works perfect for commands such as Open and Save. The problem with Copy is that even the command not being in menu, I am still able to Copy text using Ctrl + C.


Is this a bug? If so, how can I prevent user from copying content from the document?


Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160429/738b3bd5/attachment.html>


More information about the LibreOffice mailing list