Hello Reinhold ,

Hi Mathias, Hi Andreas,
thanks for your great help! After making some tests, i agree that terminating
 the office is the wrong way in this case... i haven't taken this 'side
 effect' into consideration. Now i have to start over. I won't annoy you, but
 let me once again get back to my initial question: if the last document was
 closed (via File-Close or the second, smaller window closer), is there any
 possibility to close the StartModule via the java app, i.e. to simulate a
 additional File-Close operation to make this window invisible?
 Once again thanks in advance!

If I understand you right you whish to let the office in memory
even if the last visible document was closed - right ? Further
you are not interested on the special StartModule window - right ?

a) You should disbale the StartModule as I've described in one
of my previous postings. (setup.xcu)

b) You should register a XTerminateListener on the global Desktop
service instance. On calling queryTermination() you have to throw an
exception ... and as a result of that the office wont terminate.

Of course ... you have to decide then when the office will
realy terminate.

Ciao,
 Reinhold

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Ciao
Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to