Issue 23308 - Add support for Python to Scripting Framework
Summary: Add support for Python to Scripting Framework
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: OOo 1.1
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: duncan.foster
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-08 14:03 UTC by duncan.foster
Modified: 2005-01-06 11:48 UTC (History)
1 user (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description duncan.foster 2003-12-08 14:03:53 UTC
Add support for Python scripts in the Scripting Framework
Support added as part of the optional PyUno module.
Comment 1 tomaisoc 2003-12-16 15:23:53 UTC
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 
Comment 2 joerg.skottke 2003-12-18 09:31:43 UTC
verified
Comment 3 joerg.skottke 2003-12-18 09:47:06 UTC
target 2.0 (for the stats)
Comment 4 duncan.foster 2005-01-06 11:48:17 UTC
closing