On 11/28/12 10:53 PM, 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;. >
sorry for the late response, I think the only way to achieve this is by using the command line parameters. But starting the same office will delegate parameters to the already running process. Means if your application start the office in listen mode it is shared as long as the office is running. Juergen
