Date: prev next · Thread: first prev next last
2020 Archives by date, by thread · List index


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).


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.