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


Hi,

if I start soffice with

--accept="socket,host=localhost,port=2083;urp;StarOffice.ServiceManager"

it runs normal.
But if I want to connect from client C++ programm:

sConnectionString =
"socket,host=localhost,port=2083;urp;StarOffice.ServiceManager";

xContextM = ::cppu::defaultBootstrap_InitialComponentContext();

xServiceManagerM = xContextM->getServiceManager();
xResolverM = Reference< XUnoUrlResolver > (xInterfaceM, UNO_QUERY);

xInterfaceM = Reference< XInterface >(
            xResolverM->resolve( sConnectionString ), UNO_QUERY );

it throws an exception with: "UNO URL does not start with "uno:" "

if I start soffice with

--accept="socket,host=localhost,port=2083;urp"

it runs normal. And if I use

sConnectionString = "socket,host=localhost,port=2083;urp";

from C++ program, I get the same exception.

I am on the beginning using libreoffice on this side. I missing
information about using this libraries.

I want to open existing documents, replace placeholders with values from
databases and generate output for Calc Documents, PDF and Excel.


Am 23.05.19 um 14:22 schrieb Jan-Marek Glogowski:
Hi Manfred,


Would be nice if you can file a bug report[1].


Never done this before for documentfoundation.org, have no account there...

Manfred

-- 
COMPARAT Software-Entwicklungs-GmbH
Willy-Brandt-Allee 31a
23554 Lübeck



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.