https://issues.apache.org/ooo/show_bug.cgi?id=123460
--- Comment #3 from brinzing <[email protected]> --- this will add an close listener to a document: Sub Start() addCloseListener(ThisComponent) End Sub Sub addCloseListener(oDoc as Object) xListener = createUnoListener("close_", "com.sun.star.util.XCloseListener") oDoc.addCloseListener(xListener) End Sub Sub close_queryClosing(evt as Object, bOwnership as Boolean) MsgBox "queryclosing" End Sub Sub close_notifyClosing(evt as Object) MsgBox "notifyClosing" End Sub Sub close_disposing(evt as Object) MsgBox "disposing" End Sub result: query -> notify -> dispose if i add macro sub's to events from tool - customize - events menu - as described above -, i get only an event for "document is closing" -- You are receiving this mail because: You are on the CC list for the issue. You are the assignee for the issue. You are watching all issue changes.
