Hi Joerg, there is already a pure Python script attached to the issue by Kulak:
http://www.openoffice.org/nonav/issues/showattachment.cgi/29691/Bootstrap.py
I will have a closer look at the script - you might as well see what
you think of it.
The challenge of platform independence is not that that big, as I see
it, because Python on its own should be XP-compatible.

2005/9/27, Joerg Budischewski <[EMAIL PROTECTED]>:
> [...]
> @Christian: I personally would prefer not to add it to uno.py or
> unohelper.py but instead create a new file (e.g. officehelper.py or
> maybe some other name, suggestions ?), where also later more office
> relevant helper functions can be added. It would cleanly separate the
> office from the uno core. The challenge is to implement it platform
> independent, if this can be done, I'd also prefer a pure python
> implementation.
>
> Usage in a client script would be
>
> import officehelper
> remoteCtx = officehelper.bootstrap()  #
> ....
>
> The implementation of bootstrap() would call uno.getComponentContext()
> just as any other current pyuno script and then do the rest 'by hand',
> so no change in the pyuno core is required. What do you think ? Can you
> implement such a function ?


--
Best Regards
Christian Junker

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

Reply via email to