문제

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!

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top