wiki:Notes/PythonOpenOffice

Python for Apache OpenOffice

PyUno, also known as the Python Bridge, part of the Uno Development Kit.

Note: Apache OpenOffice 4 ships with the Python scripting language, version 2.7. OpenOffice.org 3.1 and above shipped with Python version 2.6.1 ...

The problem is that I don't really have a need for it at the moment, but that may change in a small office usage scenario.

Python Uno Bridge ?

https://www.openoffice.org/udk/python/python-bridge.html#examples

OOo by default ships with the Python-2.2.2 core runtime. This is fine for most users, but some hackers (or Linux distributors) may want to replace the runtime with the python system's installation ...

On windows, you can only use python-2.2. If you want to use python-2.3, you must recompile the pyuno module with python-2.3 (see below) ...

Not sure what means. See next.

PyUno Wiki

https://wiki.openoffice.org/wiki/Python

Apache OpenOffice 4 ships with the Python scripting language, version 2.7. OpenOffice.org 3.1 and above shipped with Python version 2.6.1 and older OpenOffice.org releases shipped with Python version 2.3.4 ...

If you already have a separate Python installation, you can import the uno module (the Python-UNO bridge) ... external to OO ? ...

Note that his applies only to Linux. For Windows, you need some more switches ... Seem to be Windows-specific config issues

https://wiki.openoffice.org/wiki/Using_Python_on_Windows

https://wiki.openoffice.org/wiki/Category:Python

http://www.openoffice.org/udk/python/scriptingframework/

https://wiki.openoffice.org/wiki/UNO_component_packaging

https://wiki.openoffice.org/wiki/Category:Documentation/Developer%27s_Guide/Writing_UNO_Components

Also See

LibreOffice has Python macro capabilities that may be useful.

PythonOfficeApps

Last modified 10 months ago Last modified on 02/11/2017 01:42:43 PM