OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

close open office from java sdk?

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
nmaves
General User
General User


Joined: 12 Sep 2003
Posts: 10
Location: Denver,CO

PostPosted: Thu Sep 25, 2003 8:51 am    Post subject: close open office from java sdk? Reply with quote

I am using the Document Converter provided in the examples of the oo sdk. I userstand that I need to start oo before I use the Document Converter.

Is there anyway to shutdown open office from the api when I am done converting docs?

star office seems to leave processes hanging around on Solaris.

nathan
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Wed Oct 01, 2003 11:15 am    Post subject: Reply with quote

Does calling terminate() on the Desktop object work?
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
BoRaX
Guest





PostPosted: Tue Nov 11, 2003 6:10 am    Post subject: Reply with quote

hi, i also use delphi with open office but i have the same problem.

when i use ver 1.0.3 terminate() method worked. but it will only disable soffice but don't kill the process soffice.exe.

but when i use ver 1.1.0 terminate() method calls an error "type mismatch". and i don't find a suitable method to kill the process of soffice.
Back to top
ptah
Newbie
Newbie


Joined: 28 Nov 2005
Posts: 2

PostPosted: Wed Nov 30, 2005 3:04 am    Post subject: Reply with quote

I am using the OfficeBean and it starts up OpenOffice fine. I also want to terminate openoffice from my program. How would I do this?
Back to top
View user's profile Send private message
hol.sten
Super User
Super User


Joined: 14 Nov 2004
Posts: 3533
Location: Hamburg, Germany

PostPosted: Wed Nov 30, 2005 1:01 pm    Post subject: Reply with quote

ptah wrote:
I am using the OfficeBean and it starts up OpenOffice fine. I also want to terminate openoffice from my program. How would I do this?

Try this threads:
- Problem with terminating soffice.exe http://www.oooforum.org/forum/viewtopic.phtml?t=5019&start=16
- XDesktop.terminate() throwing DisposedException (Java UNO)us http://www.oooforum.org/forum/viewtopic.phtml?t=20172
- how can I make a clean disconnect from an oo process http://www.oooforum.org/forum/viewtopic.phtml?t=17804

With kind regards
hol.sten
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group