https://bugs.freedesktop.org/show_bug.cgi?id=56289

--- Comment #6 from Alex Thurgood <[email protected]> ---
Marc, I am only a simple volunteer QAer who happened to come across your report
and take an interest, not a developer. You might like to voice your (justified
IMO) concerns on the developer mailing list.

The requirement for what was OpenOffice.org, and now LibreOffice, to run on
multiple OSes resulted in various kludges/tricks for getting the Python-UNO,
Java-UNO, X-UNO bridges to run. Maintenance has always been a problem and a
limitation with regard to the implementations that are possible. It doesn't
help that the OSes themselves, apart from the various Linux distributions, were
not always very Python friendly (e.g. Mac OSX, Windows). However, that is the
historical reason for why things are as they are today. In addition, this won't
change unless someone can be bothered to re-implement them in a way that
satisfies the multi-arch/platform criteria and still lets you manipulate your
objects/data/structures in the way that is coherent with current development
within the project, which in itself would be no mean feat.


If you are looking for Python-UNO related documentation, then you might want to
look to the mothership project :

http://www.openoffice.org/udk/python/python-bridge.html
http://www.devshed.com/c/a/Python/Python-and-OpenOfficeorg/
http://drbacchus.com/openoffice-python-uno-interface
http://www.len.ro/work/python-uno-openoffice-automatization/

Now of course, you might find these examples too limited for what you are
looking to do, I don't know. What I do know is that a valuable tool for
object/method introspection is the MRI extension (written in python) that you
can get here :

http://extensions.libreoffice.org/extension-center/mri-uno-object-inspection-tool


You could also look at some of the python scripts that are already part of the
code base within the LibreOffice project :

http://cgit.freedesktop.org/libreoffice/core/tree/pyuno/demo

or the mailmerge.py script which is used from within LibreOffice to carry out
mailmerge (more or less successfully, it has to be said).



Alex

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to