Return-Path: X-Original-To: apmail-openoffice-users-archive@www.apache.org Delivered-To: apmail-openoffice-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07C029286 for ; Thu, 29 Nov 2012 23:58:16 +0000 (UTC) Received: (qmail 8855 invoked by uid 500); 29 Nov 2012 23:58:15 -0000 Delivered-To: apmail-openoffice-users-archive@openoffice.apache.org Received: (qmail 8818 invoked by uid 500); 29 Nov 2012 23:58:15 -0000 Mailing-List: contact users-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openoffice.apache.org Delivered-To: mailing list users@openoffice.apache.org Delivered-To: moderator for users@openoffice.apache.org Received: (qmail 6829 invoked by uid 99); 29 Nov 2012 23:19:28 -0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) X-Authority-Analysis: v=2.0 cv=EshQXFgA c=1 sm=0 a=EZ8bsRIsysmwYSPtQSmkMQ==:17 a=yHI4Y2AynNcA:10 a=uBsBa1gr-CYA:10 a=BxJkruAImwIA:10 a=cX0H9CLn-QkA:10 a=aFGVzZ1oTV0A:10 a=8nJEP1OIZ-IA:10 a=XHYATe7NAAAA:8 a=sbV8ZPnkE-sA:10 a=-hyCGDrDAAAA:8 a=mV9VRH-2AAAA:8 a=Fd3JeZLGAAAA:8 a=RIxOuyyqwbYGaC0KCkMA:9 a=wPNLvfGTeEIA:10 a=HFtHcI9Jw8gA:10 a=AAZyzd5SV9YA:10 a=EZ8bsRIsysmwYSPtQSmkMQ==:117 X-Cloudmark-Score: 0 X-Authenticated-User: X-Originating-IP: 24.210.32.220 Message-ID: <50B7ED64.40106@pitonyak.org> Date: Thu, 29 Nov 2012 18:19:00 -0500 From: Andrew Douglas Pitonyak Reply-To: andrew@pitonyak.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: dev@openoffice.apache.org CC: "Steele, Raymond" , "users@openoffice.apache.org" Subject: Re: Listening Mode - Single instance References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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-unsubscribe@openoffice.apache.org For additional commands, e-mail: users-help@openoffice.apache.org