openoffice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steele, Raymond" <>
Subject RE: EXTERNAL: Re: Listening Mode - Single instance
Date Fri, 30 Nov 2012 15:24:47 GMT

Thanks for replying. Yes, I want only the instance of OpenOffice that is launched from my
java application to be listening. If a user launches OpenOffice any other way, it would not
be listening on the same port. I too have had unreliable results with and have
done an extensive search on the web for this topic. Your suggestion about the two instances
is interesting, thanks for it. I may look into that. 

Lastly, placing:

<prop oor:name="ooSetupConnectionURL">

Into the maind.xcd file seems to be unreliable. Is there something else that I should be doing
to launch OpenOffice in listening mode?

-----Original Message-----
From: Andrew Douglas Pitonyak [] 
Sent: Thursday, November 29, 2012 4:19 PM
Cc: Steele, Raymond;
Subject: EXTERNAL: Re: Listening Mode - Single instance

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,,
define editing a Setup.xcu file, but the information here,,
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
> 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, 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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message