libreoffice online · 2019. 7. 23. · 2 libreoffice online libreoffice desktop vs online – pc,...
TRANSCRIPT
![Page 2: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/2.jpg)
2
LibreOffice Online
● LibreOffice Desktop vs Online– PC, Mobile, Cloud
● UNO, LibreOfficeKit, WebSocket● Cloud
– Arquitectura
– Seguridad– Integración
● Mobile Android, iOS
![Page 3: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/3.jpg)
3
LibreOffice Desktop
![Page 4: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/4.jpg)
4
UNO (Universal Network Object)
● Component Context– Servicios
● UNO objetos– Interfaces
● Implementación de Objetos– Lenguajes de programación
![Page 5: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/5.jpg)
5
LibreOffice Source Code
● https://docs.libreoffice.org/Servicios– Funcionalidad auxiliar para implementar
componentes UNO– Herramientas de acceso a bases de datos, para
aplicación de base de datos "base"
– Código fuente de la aplicación Writer– Código fuente de la aplicación Calc
– Código fuente de la aplicación Impress
![Page 6: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/6.jpg)
6
LibreOffice Writer
![Page 7: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/7.jpg)
7
LibreOffice Writer Headless
![Page 8: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/8.jpg)
8
Tiled Rendering
![Page 9: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/9.jpg)
9
Cliente (Navegador)
![Page 10: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/10.jpg)
10
Leaflet, JavaScript librería
https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
![Page 11: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/11.jpg)
11
LibreOffice Online
![Page 12: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/12.jpg)
12
LibreOffice OnLine WebSocket Daemon)
![Page 13: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/13.jpg)
13
LibreOffice OnLine
![Page 14: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/14.jpg)
14
LibreOfficeKit
LibreOfficeKit
LibreOffice Core
Jaula (Chroot)
![Page 15: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/15.jpg)
15
LibreOfficeKit API
● C and C++, in-process (fácil depuración)● Operaciones de archivo
– loadDocument(), saveAs()
● Operaciones de renderizacion– paintTile(), setPart(), getDocumentSize(), ...
● Operaciones de interacciones– postKeyEvent(), postMouseEvent(),
postUnoCommand(), paste(), setTextSelection(), ...
![Page 16: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/16.jpg)
16
Demostracion
![Page 17: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/17.jpg)
17
Usando el protocolo WOPI para integrar con LibreOffice Online
● Uno o mas instancias de servidor loolwsd● Un aplicación web (HTML) donde anidará el
iframe de LibreOffice● Implementar REST endpoints del protocolo
WOPI● Personalizar los elementos de Interfaz
![Page 18: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/18.jpg)
18
WOPI (Web Application Open Platform Interface)
Iframe with LibreOffice Online
Aplicacion Web
WOPI host (provee los datos)
WOPI cliente(Libre Online server side)
![Page 19: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/19.jpg)
19
Iframe src
https://<client>:<port>/loleaflet/<hash>/loleaflet.html?WOPISrc=https://<WOPI host URL>/<...>/wopi*/files/<id> ?access_token=<number>
![Page 20: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/20.jpg)
20
REST endpoints
Descargar el documento
GET https://<WOPI host URL>/<...>/wopi*/files/<id>/contents?access_token=<token>
https://wopi.readthedocs.io/projects/wopirest/en/latest/files/GetFile.html
![Page 21: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/21.jpg)
21
REST endpoints
Subir el documento
POST https://<WOPI host URL>/<...>/wopi*/files/<id>/contents?access_token=<token>
https://wopi.readthedocs.io/projects/wopirest/en/latest/files/PutFile.html
![Page 22: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/22.jpg)
22
REST endpoints
Propiedades del documento
Https://<WOPI host URL>/<...>/wopi*/files/<id>?access_token=<token>
https://wopi.readthedocs.io/projects/wopirest/en/latest/files/CheckFileInfo.html
![Page 23: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/23.jpg)
23
Discovery service
Obtener informacion de como iniciar el iframe
https://<wopiclient>/hosting/discovery
https://wopi.readthedocs.io/projects/wopirest/en/latest/files/CheckFileInfo.html
![Page 24: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/24.jpg)
24
Ejemplo de implementación
● https://github.com/nextcloud/richdocuments
● PHP y Javascript
![Page 25: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/25.jpg)
25
Demostracion
![Page 26: LIBREOFFICE ONLINE · 2019. 7. 23. · 2 LibreOffice Online LibreOffice Desktop vs Online – PC, Mobile, Cloud UNO, LibreOfficeKit, WebSocket Cloud – Arquitectura – Seguridad](https://reader034.vdocuments.mx/reader034/viewer/2022051510/5fed7a1f76dbff1add583cfd/html5/thumbnails/26.jpg)
All text and image content in this document is licensed under the Creative Commons Attribution-Share Alike 4.0 License (unless otherwise specified). "LibreOffice" and "The Document Foundation" are registered trademarks. Their respective logos and icons are subject to international copyright laws. The use of these therefore is subject to the trademark policy.
Agradecimientos / Cierre