Question

I have Java Uno application which runs on server and performs automated text extraction from documents. I want to shutdown OpenOffice from my application before exiting. How can I do this?

Thanks in advance!

Was it helpful?

Solution

I'm using XDesktop.terminate()

http://api.openoffice.org/docs/common/ref/com/sun/star/frame/XDesktop.html

But this will only work (as far as I know) if you started OpenOffice locally.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top