Re: LibreOffice Impress Presentation Server

2018-11-01 Thread Sergi Baila
Thanks for the responses to my previous mail. Below I'm replying to specific 
messages. I have some paths to research now.

> From: Miklos Vajna vmik...@collabora.co.uk
> Can you build this on top of
> https://wiki.documentfoundation.org/Development/Impress_Remote_Protocol?
>

I've seen that. It's interesting and certainly does solve some of my 
requirements so It's worth a deeper look. I'll do it. Thanks for the clue.


> From: Thorsten Behrens t...@libreoffice.org

>
> Pretty much anything in LibreOffice can be remote-controlled from a
> different process (even from a different box), via a protocol called
> UNO (quite similar to COM).
>
> Here's an example in python (but the UNO API calls are really quite
> similar for Java):
>
> https://stackoverflow.com/questions/33092424/control-libreoffice-impress-from-python
>

Very interesting. Thanks for the reference. I will certainly use that.

> That leaves the question on how to dynamically generate slide content,
> but that also works via UNO (you can even send Impress files over the
> wire). There's documentation for that, e.g. Andrew's macro book linked
> from the article above: http://www.pitonyak.org/oo.php

Thanks. Each POS station will have some files ready to send so the sending of 
files over the wire seems a perfect fit.



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


Re: LibreOffice Impress Presentation Server

2018-10-31 Thread Thorsten Behrens
Hi Sergi,

Sergi Baila wrote:
> Given all these requirements I'm thinking of something on the line
> of what I call a "LibreOffice Impress Presentation Server". A
> standalone app (LibreOffice impress) which can receive commands
> (REST?) regarding which information to show on the secondary
> screen. I am also open to any other alternative (like an embedded
> Java engine?).
>
Pretty much anything in LibreOffice can be remote-controlled from a
different process (even from a different box), via a protocol called
UNO (quite similar to COM).

Here's an example in python (but the UNO API calls are really quite
similar for Java):

https://stackoverflow.com/questions/33092424/control-libreoffice-impress-from-python

That leaves the question on how to dynamically generate slide content,
but that also works via UNO (you can even send Impress files over the
wire). There's documentation for that, e.g. Andrew's macro book linked
from the article above: http://www.pitonyak.org/oo.php

Hope that helps,

-- Thorsten


signature.asc
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: LibreOffice Impress Presentation Server

2018-10-31 Thread Miklos Vajna
Hi Sergi,

On Tue, Oct 30, 2018 at 03:49:14PM +, Sergi Baila 
 wrote:
> TL;DR: I need advice on how to build a "LibreOffice Impress Presentation 
> Server" to control from another app a presentation on a secondary screen.

Can you build this on top of
<https://wiki.documentfoundation.org/Development/Impress_Remote_Protocol>?

Regards,

Miklos


signature.asc
Description: Digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


LibreOffice Impress Presentation Server

2018-10-30 Thread Sergi Baila
Hello,

TL;DR: I need advice on how to build a "LibreOffice Impress Presentation 
Server" to control from another app a presentation on a secondary screen.

The long story

First, some background. I am a freelance developer and I have a customer on the 
retail sector. They have retail stores with POS computers (more or less 
standard Windows PCs). They are replacing old ones with new models featuring 
two screens: the main work screen (facing the clerk) and a secondary small 
screen (facing the customer).

Now they want to use this new secondary screen. The idea is to be able to show 
presentations (.odp/.ppt files) on a loop with ads, promotions or other useful 
information. There is also the requirement to show some information during a 
sale (current item, accumulated total, etc.).

What to show (presentation file and current sale information) are to be 
provided automatically by the current app (a Java app running on a local 
Tomcat). That's because the content is to be distributed remotely through an 
existing server infrastructure.

This needs to work in the background while the main screen remains available 
for everyday use as always.

Given all these requirements I'm thinking of something on the line of what I 
call a "LibreOffice Impress Presentation Server". A standalone app (LibreOffice 
impress) which can receive commands (REST?) regarding which information to show 
on the secondary screen. I am also open to any other alternative (like an 
embedded Java engine?).

I think of an standalone product because I have green light to create it as an 
open source project. I can also use external contractors fully or partially.

Any ideas, suggestions or advice?

Thank you very much for reading all of this! :-)

---
Sergi Baila
https://sargue.net/cv/

Sent with [ProtonMail](https://protonmail.com) Secure Email.___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice