On 11/29/2012 10:18 AM, Steele, Raymond wrote:
Is it possible to open a single instance of calc via loadComponentFromURL() in 
listening mode. The instructions here, 
http://wiki.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Starting_OpenOffice.org_in_Listening_Mode,
 define editing a Setup.xcu file, but the information here, 
https://issues.apache.org/ooo/show_bug.cgi?id=117803, says that Setup.xcu no 
longer exist in version 3.3. Apparently, I could update the main.xcd file, but 
I only want listening mode when a specific application opens calc because 
another application will need to close that instance. I'd prefer not use a 
script to launch soffice -accept=socket,host=0,port=2002;urp;.

Raymond



My initial reaction is that "Calc does not listen, OpenOffice listens". So are you saying that as soon as a Calc document is opened, you want OOo to start listening? Off hand, I don't think that you can do that. I believe that the choice must be made when OOo begins (not sure how that plays into the whole quick-starter stuff).

You do not mention your operating system, but, you might be able to configure another copy of OOo for a different user or location that is configured to use it. I have seen comments on this in the past, I don't remember the details. I ran a quick google query using

running two instances of OOo at the same time

and it returned links into oooforum.org, which has been highly unreliable lately, and I could not connect. Give it a try and maybe it will work for you.

The idea is to use two different OOo profiles so that you can have two different instances. Then, you can choose which instance you want to run.


--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
Info:  http://www.pitonyak.org/oo.php


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org
For additional commands, e-mail: users-h...@openoffice.apache.org

Reply via email to