Hi together,

> I have a Java application bootstrapping OOo and opening a document.
> After opening the document, some additional stuff is done. Now I want to
> wait, until the user closes the document. When the user closes the
> document, I want OOo to leave an initialized UNO and do some other stuff.
> 
> How to do this?

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?

Greetings, Tobias

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

Reply via email to