openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #18467
[Bug 1094296] [NEW] LibreOffice 4.0 support
Public bug reported:
Since libreoffice 4.0 is in beta stage, I think we should start looking
at supporting it in the presentation plugin.
According to the release notes
https://wiki.documentfoundation.org/ReleaseNotes/4.0
these changes could cause openlp to not work with libreoffice 4:
- "The bundled Python was upgraded from Python 2.6 to Python 3.3" - libreoffice 4 integration will probably work only with python 3
- some api changes/removals/deprecations
One solution could be to not use UNO-python but use the ctypes module
from python that is able call directly functions from C/C++ libraries.
I think that with ctypes we could support multiple libreoffice versions
without worrying about UNO and python incompatibilities.
To ease the creation of ctypes bindings for libreoffice we could look at
a tool ctypesgen that could generate pure python bindings from supplied
C/C++ headers.
https://code.google.com/p/ctypesgen/
https://code.google.com/p/ctypesgen/wiki/GettingStarted
** Affects: openlp
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1094296
Title:
LibreOffice 4.0 support
Status in OpenLP - Worship Presentation Software:
New
Bug description:
Since libreoffice 4.0 is in beta stage, I think we should start
looking at supporting it in the presentation plugin.
According to the release notes
https://wiki.documentfoundation.org/ReleaseNotes/4.0
these changes could cause openlp to not work with libreoffice 4:
- "The bundled Python was upgraded from Python 2.6 to Python 3.3" - libreoffice 4 integration will probably work only with python 3
- some api changes/removals/deprecations
One solution could be to not use UNO-python but use the ctypes module
from python that is able call directly functions from C/C++ libraries.
I think that with ctypes we could support multiple libreoffice
versions without worrying about UNO and python incompatibilities.
To ease the creation of ctypes bindings for libreoffice we could look
at a tool ctypesgen that could generate pure python bindings from
supplied C/C++ headers.
https://code.google.com/p/ctypesgen/
https://code.google.com/p/ctypesgen/wiki/GettingStarted
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1094296/+subscriptions
Follow ups
-
[Bug 1094296] Re: LibreOffice 4.0 support
From: Tim Bentley, 2014-11-02
-
[Bug 1094296] Re: LibreOffice 4.0 support
From: Samuel Mehrbrodt, 2014-07-06
-
[Bug 1094296] Re: LibreOffice 4.0 support
From: Mark, 2014-04-19
-
[Bug 1094296] Re: LibreOffice 4.0 support
From: Raoul Snyman, 2014-04-19
-
[Bug 1094296] Re: LibreOffice 4.0 support
From: Mark, 2014-04-19
-
[Bug 1094296] Re: LibreOffice 4.0 support
From: Tim Bentley, 2013-08-21
-
[Bug 1094296] Re: LibreOffice 4.0 support
From: Jon Persson, 2013-08-21
-
[Bug 1094296] Re: LibreOffice 4.0 support
From: Tim Bentley, 2013-08-02
-
[Bug 1094296] Re: LibreOffice 4.0 support
From: Diego Corrêa Detomini, 2013-08-02
-
[Bug 1094296] Re: LibreOffice 4.0 support
From: Tim Bentley, 2013-06-18
-
[Bug 1094296] Re: LibreOffice 4.0 support
From: Raoul Snyman, 2013-04-07
-
[Bug 1094296] Re: LibreOffice 4.0 support
From: Raoul Snyman, 2013-04-07
-
[Bug 1094296] Re: LibreOffice 4.0 support
From: Andreas Preikschat, 2013-03-28
-
[Bug 1094296] Re: LibreOffice 4.0 support
From: Tim Bentley, 2012-12-28
-
[Bug 1094296] [NEW] LibreOffice 4.0 support
From: matysek, 2012-12-28
References