On 2010-03-02 3:04 PM, Rene Engelhard wrote: > Hi, > > On Tue, Mar 02, 2010 at 12:45:26PM +0100, Jürgen Strobel wrote: >> Ok here we are at the root of the problem. I do *not* want another >> python interpreter inside OOo. I fully understand there's only one, and >> that's the debian default version. > > Aha. Then use python2.5 and be done.
I do not want to run macros or scripts inside OOo, but rather control it from the outside via UNO. For this purpose I can happily ignore whether OOo embeds python, and which version it is. > >> After all it should be possible from java or any >> other language too, even networked from other hosts. > > I don't think that Java is a proper example. From OOs's Professional UNO Guide, Introduction, first sentence: "The goal of UNO (Universal Network Objects) is to provide an environment for network objects across programming language and platform boundaries. UNO objects run and communicate everywhere." http://api.openoffice.org/docs/DevelopersGuide/ProfUNO/ProfUNO.xhtml > You know that "proper" OOo embeds a full copy of python in their installation > set so you don't have any choice except using their python binary? > Or on Mac OS they also just use their default python. > Similar thing here. I know, and it is irrelevant to my intended usage. > This is not even supported upstream. Though, no idea whether accessing > it with an other python would work - I surely will not "waste" my time > getting this to work. > From my understanding of upstream I disagree. See http://wiki.services.openoffice.org/wiki/Uno/Article/Understanding_Uno "... To make it simple, UNO provides a way to call other objects without taking care of their implementation language or their execution environment. In fact a method call in OOoBasic is translated into a UNO call to the right implementation method. An other feature of UNO is to allow external programs to get running OpenOffice.org objects using a network connection." Please understand there are other uses of OOo than running it to edit a document, or run it to execute macros/scripts inside documents. It would be nice if Debian could support this too, especially as the OOo packaging is already great in other matters. Even if you don't want to waste time on this personally an open wishlist item won't be held against you by anyone, but might encourage others to provide patches. Ciao, Jürgen
signature.asc
Description: OpenPGP digital signature