Hi Robert,

>> I've got an ugly solution: each second I try to get the storage location
>> of my XComponent. As soon as it failes (a disposed exception is thrown),
>> I know the document was closed. What do you think about this solution?
>> Or do you have any better ideas?
> 
> I'm not sure if I understood you correctly, but this can help you ...
> Implement interface css.util.XCloseListener and attach it to
> document's frame via css.util.XCloseable from css.frame.XFrame.

Thanks for you answer. My problem is that I want prevent OOo to close
down completely. I want to leave initialized OOo when exiting my java
application. That is not possible using a close listener. After my close
event method is done, OOo will shut down completely.

Thus I think I need todo it the ugly way. What do you think?

Greetings, Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to