https://bugs.documentfoundation.org/show_bug.cgi?id=98001

            Bug ID: 98001
           Summary: File/New, Recent documents, Wizards cannot be disabled
           Product: LibreOffice
           Version: 5.2.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: framework
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 122793
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122793&action=edit
example to disable menu commands

With interception of commands it is possible to disable actions via UNO API.
This can be achieved via the interface
com::sun::star::frame::XDispatchProviderInterception

This works for almost all commands but not for those that get a sub menu added
programmatically in the framwork module.

The button "Intercept menu entries" in the attached document disables commands
related to the following menu entries.

Window/New Window

File/New
File/Wizards
File/Recent Documents

While the first one is actually disabled, the others are not. Please note that
the toolbox button executing 'New' _is_ disabled.

With the button "Undo changes" the interceptor is removed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to