I'm running libreoffice controlled by uno and would like to modify the user
interface under certain conditions. So using uno or adjusting the users
registrymodifications.xcu are my preferred techniques to accomplish the
a) the menu item file > "save as" needs always to be hidden or removed
b) the panel "This document is open in read-only mode. Edit document" needs
to be hidden or removed (at least the edit button) under certain conditions
I tried to hook the registry by setting
to boolean false, but couldn't get it work.