Harald Weyhing schrieb:
I use the following property:
System.setProperty("com.sun.star.officebean.Options", "-norestore");
OK - you set the value "-norestore" on another place ..
But are you sure that the bean use this system property
realy within a command line starting the office ?
Yes, here is a code snipp from LocalOfficeConnection.java:
sOption is the variable you are interested in.
OK - seams that OOBean uses this property on starting an office.
An office started with such parameter wont use AutoRecovery and friends
then. But (!) ... what will happen if an office instance already is
running ? Then the bean uses this office (by establishing an UNO
connection) ... and dont start a seond instance. So these office
instance will have a functional AutoRecovery.
Please make sure you will start a new office instance
instead of reusing an existing once.
Regards
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]