Re: UNO connection problems (GSOC Report Week 3)

2019-06-20 Thread Michael Stahl
On 20.06.19 08:52, Stephan Bergmann wrote: On 19/06/2019 22:32, Rasmus Jonsson wrote: On Wed, 19 Jun 2019 08:07:15 +0200 Stephan Bergmann wrote: This worked, thanks. However, the project requires using whichever LibreOffice installation is available. For C++ and Java there is helper

Re: UNO connection problems (GSOC Report Week 3)

2019-06-20 Thread Markus Mohrhard
Hey, you can also have a look at the existing OfficeConnection class from https://cgit.freedesktop.org/libreoffice/core/tree/uitest/libreoffice/connection.py That one should contain quite some logic to handle different corner cases and should warn if the environment is not set-up correctly.

Re: UNO connection problems (GSOC Report Week 3)

2019-06-20 Thread Stephan Bergmann
On 19/06/2019 22:32, Rasmus Jonsson wrote: On Wed, 19 Jun 2019 08:07:15 +0200 Stephan Bergmann wrote: This worked, thanks. However, the project requires using whichever LibreOffice installation is available. For C++ and Java there is helper functionality in the LO SDK for 3rd-party apps to

Re: UNO connection problems (GSOC Report Week 3)

2019-06-19 Thread sunnysunny
The information you have posted is very useful. The sites you have referred was good. Thanks for sharing webnovel -- Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html ___

Re: UNO connection problems (GSOC Report Week 3)

2019-06-19 Thread Rasmus Jonsson
On Wed, 19 Jun 2019 08:07:15 +0200 Stephan Bergmann wrote: This worked, thanks. However, the project requires using whichever LibreOffice installation is available. > The python interpreter needs to know about LO's UNO files, and a Which are these UNO files? > system python3 presumably

Re: UNO connection problems (GSOC Report Week 3)

2019-06-19 Thread Stephan Bergmann
On 19/06/2019 00:41, Rasmus Jonsson wrote: However, when I ran the same script `python3 myscript.py` I got this, http://paste.debian.net/1088386/ The python interpreter needs to know about LO's UNO files, and a system python3 presumably doesn't know about your locally-built LO's files. The

UNO connection problems (GSOC Report Week 3)

2019-06-18 Thread Rasmus Jonsson
So last week (until June 16th) I ran into issues with integrating my program with LibreOffice using UNO. The goal is to start LibreOffice Impress, connect to it (initially using the Impress Remote Protocol, but it was decided that UNO would be more suitable), and open/ play/ control slideshows