[prev in list] [next in list] [prev in thread] [next in thread]
List: libreoffice
Subject: Re: start calc if resolve fails
From: Stephan Bergmann <sbergman () redhat ! com>
Date: 2020-03-30 7:10:54
Message-ID: 947dc922-3c83-f36d-6920-0404a8d25249 () redhat ! com
[Download RAW message or body]
On 27/03/2020 19:58, Iain wrote:
> If resolve fails through
> resolver.resolve(
> "uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext" )
> (or something similar)
>
> Because there is no running office, how can I start a libreoffice process,
> wait until its running and transfer control back to my program?
That's what many of LO's tests do. Code is in
unotest/source/cpp/officeconnection.cxx (C++) and
unotest/source/java/org/openoffice/test/OfficeConnection.java (Java).
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic