RE: [api-dev] OOoBean correct termination

2006-03-09 Thread KINDLER Jurgen
Hello Jürgen, -Original Message- From: Jürgen Schmidt [mailto:[EMAIL PROTECTED] ... The function or better the behaviour of the bean isn't exactly specified for all use cases and that is one major problem. There is too much space for things that work per chance, people count on it and

Re: [api-dev] OOoBean correct termination

2006-03-09 Thread Jürgen Schmidt
KINDLER Jurgen wrote: Hello Jürgen, -Original Message- From: Jürgen Schmidt [mailto:[EMAIL PROTECTED] ... The function or better the behaviour of the bean isn't exactly specified for all use cases and that is one major problem. There is too much space for things that work per

Re: [api-dev] OOoBean correct termination

2006-03-06 Thread cedric . bosdonnat . ooo
Hi Joachim, Quoting Joachim Lingner [EMAIL PROTECTED]: Unfortunately I cannot integrate it right away. We still have to figure out some special cases. For example, what happens if the office was started by OOoBean and then a user starts OOo. Both are using the same office. If now the OOoBean

Re: [api-dev] OOoBean correct termination

2006-03-06 Thread Laurent Godard
HI I the patch I sent, I tested this case: the bean connection is simply stopped: I found very stupid to terminate the whole office if the user has another document opened on the desktop. I totally agree with you Cedric But is it stil possible ? did you implement the optional way (force

Re: [api-dev] OOoBean correct termination

2006-03-06 Thread Jürgen Schmidt
Jürgen Schmidt wrote: [EMAIL PROTECTED] wrote: Hi Joachim, Quoting Joachim Lingner [EMAIL PROTECTED]: Unfortunately I cannot integrate it right away. We still have to figure out some special cases. For example, what happens if the office was started by OOoBean and then a user starts OOo.

Re: [api-dev] OOoBean correct termination

2006-03-04 Thread cedric . bosdonnat . ooo
Hi Joachin, I just have modified and tested my new bean thanks to your advice. I attached the Diff with a comment to the issue. I simply added a method terminateOOo as suggested on the issue. This method check if there are other components in the desktop and terminate the office if there is only

Re: [api-dev] OOoBean correct termination

2006-03-02 Thread Joachim Lingner
Hi, there is a bug concerning the termination of the bean (60473). What you could to is to modify the OOoBean code yourself. You could for example add a function to OOoBean that removes the event listener (private class EventListener in com/sun/star/comp/beans/OOoBean.java). after calling this

[api-dev] OOoBean correct termination

2006-03-01 Thread cedric . bosdonnat . ooo
Hi everybody, I'm using the OOoBean and would like to terminate correctly the OOo I've started. I used the code of the Developer's Guide example (http://api.openoffice.org/source/browse/api/odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java) and I get the exception pasted at the end of