← Back to team overview

openlp-core team mailing list archive

[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

References