Hi,
On Fri, 2016-04-29 at 14:31 +0000, Lucas da Cunha wrote:
I'm trying to disable Copy (ctrl + C) using java UNO API.
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?
Well, sw/source/uibase/docvw/edtwin.cxx has this:
2322 // Because Sfx accelerators are only called when they were
2323 // enabled at the last status update, copy has to called
2324 // 'forcefully' by us if necessary.
2325 if( rKeyCode.GetFunction() == KeyFuncType::COPY )
2326 GetView().GetViewFrame()->GetBindings().Execute(SID_COPY);
So this is "by design".
Maxim
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.