Apache OpenOffice (AOO) Bugzilla – Issue 23308
Add support for Python to Scripting Framework
Last modified: 2005-01-06 11:48:17 UTC
Add support for Python scripts in the Scripting Framework Support added as part of the optional PyUno module.
New C++ classes have been added to detect python scripts in the user and share directories of an OpenOffice.org installation and in open documents. An implementation of the ScriptProvider service for Python has also been created based on Joerg Budischewskis original ScriptRuntimeForPython from pyuno. Currently the ScriptProviderForPython will not be installed with OpenOffice.org as Python and Pyuno support are optional components in the install. We need to add the new ScriptProviderForPython as part of that optional install also. The source for the ScriptProviderForPython is in the scripting module in the source/pyprov directory. To build it switch to the source/pyprov directory of your OpenOffice.org build environment and type dmake. This will generate a pyprov library. You can then create a UNO package using this library and the pythonscript.py file which is also contained in the source/pyprov directory. Instructions on generating a UNO package can be found in the OpenOffice.org Developers Guide available from http://api.openoffice.org
verified
target 2.0 (for the stats)
closing