Carlos Rocha wrote:

i meant a completely independent user installation that you can configure in the way you want or need. You can use a specific user installation by starting with "soffice -env:UserInstallation=<fileurl>". An environment variable "UserInstallation" should work as well. This User installation can you put where you want. Any kind of special configuration can you do there.

Sorry, maybe I'm missing something but I didn't get it. I use OLE Automation to execute OO, so the office path is read from windows registry. If I change it wouldn't it be global for any other program that uses OLE? Besides, I think that the call to CreateObject("com.sun.star.lang.ServiceManager") only opens soofice.exe if it's not already running. For what is stated in the SDK docs the properties "UIConfig" and "UserConfig" from "com.sun.star.util.PathSettings" seems to do the job and they could be changed from inside my program. I Just don't know exactly how to use it.
well that is correct. But try it out. Set the environment variable UserInstallation and start your process from where you access the office. I assume that you will create if necessary a second office process with the new user installation. You can easy check it if you first start the office normally and then your own process. But of course i am only guessing and haven't time to check it on my own. Maybe it behaves different when OLE is involved.

Juergen


Sorry for my lack of knowledgement :(
Carlos


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





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

Reply via email to