Re: start calc if resolve fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread 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).

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux