Hi,

with OOo-2.4.0 and later (cws pyunofixes4), pyuno components and scripts within uno extensions can now add arbitrary files to PYTHONPATH. This now makes it possible to implement scripts/components within multiple source files and also allows usage of unohelper.Base with self defined idl types. See
 http://udk.openoffice.org/python/python-bridge.html#multiple_source_files

for a little more explanation and a sample calc addin.

Additionally, exceptions will now have better stacktraces (absolute path to python file now appears in stacktraces instead of "").

Python components and scripts can now have both unix and windows linefeeds (formerly only unix linefeeds were allowed)

Unfortunately, the changes introduced bug http://qa.openoffice.org/issues/show_bug.cgi?id=86251 which will hit you, when there are non-ascii characters in the path of your home directory and/or in the office installation path. A simple patch for this problem is attached to the issue.

Bye,

Joerg
------------------------
Fixed issues:

i54513 unohelper.inspect() seems to report nonsense when a uno.Type is passed
i54760  Incorrect line in pythonloader.py
i56236 Python macros does not work on Linux (gentoo) when PYTHONPATH is set.
i57589  installation of python component in windows format
i63482  PyUNO components block at 2nd time
i76281  Add import functionality to python components
i77780  Python unohelper.py

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to