Hi,
I have a trivial python macro installed into the document. I have assigned it to the document open event through the UI.
def doNothing(*args):
result = 17*4
If I open the document the first time, everything is o.k.
If I close the document without closing LO, end then reopen the document, I get a com.sun.star.lang.DisposedException.
This does not happen if I also close and restart LO. It does also not happen when I install the macro globally to MyMacros instead of storing it locally in the document.
Any help?
I am on LO 7.4.3.2 (x64)
Cheers ms777
document open event.ods (7.5 KB)