There are two /usr/lib/libreoffice/share/registry/*.xcd
settings, each should suffice:
org.openoffice.Office.Misc/Security/Scripting/DisableMacroExecution=true
org.openoffice.Office.Misc/Security/Scripting/MacroSecurityLevel=3
After applying those, a macro from a loaded text document results in:
An attempt was made to execute a macro.
For security reasons, macro support is disabled.
However, macro support is not disabled.
Adding a macro containing shell "xterm"
to the current document and executing that still presents a terminal window.
Which options really disable the macro feature?
Is there a way to just not install the feature, instead of attempting to disable it?
I don't really understand what this excerpt from their site says but, in summary, it says that's not possible and can only be done per document.
And it goes on to say:
Please look at the thread here.