SteveC wrote:

> Found it
> 
> Document.close(true)
> 
> works for me.
> 
> Is this guarenteed to work?

close(true) will close the document if possible. If it isn't possible
(e.g. because the document is still printing) it will close itself
immediately if it will be so.

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.

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

Reply via email to