开发者

How to shutdown OpenOffice from my Java Uno application?

开发者 https://www.devze.com 2023-02-16 19:10 出处:网络
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开发者_如何学Go exiting.How can I do thi

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开发者_如何学Go 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消