Hi Mikhail
As I understand, in your case the event on a document window activates the macro and the macro closes the document. Please correct me if I have misunderstood the scenario.
you perfectly understood the problem
http://wiki.services.openoffice.org/wiki/Framework/Article/Asynchronous_Callback_Service
thanks a lot, i'll dig in this direction Laurent --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@framework.openoffice.org For additional commands, e-mail: dev-h...@framework.openoffice.org