Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #18816
| From | Paul Rudin <paul.nospam@rudin.co.uk> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: open office in another language? |
| Date | 2012-01-11 10:17 +0000 |
| Message-ID | <87hb02y259.fsf@no-fixed-abode.cable.virginmedia.net> (permalink) |
| References | <CAOFf2a0RZo=o9r=We=iGUutfNn9SCeJUMn7ZM+hq=o7RoCN1bg@mail.gmail.com> <mailman.4635.1326272939.27778.python-list@python.org> |
Stefan Behnel <stefan_ml@behnel.de> writes: > OOo has been fully scriptable in Python for ages. It even comes with an > embedded Python runtime for that purpose (at least on > non-package-management systems like Windows). So, Python is actually a > standard component in all installations, whereas Java is not, and is > therefore not necessarily available in a deployment. Basically, if you want > your scripts to run in all OpenOffice/LibreOffice installations, you either > have to write it in StarBasic, or use Python. > > The OOo extension API is called UNO, so look for the PyUNO bridge. > Admittedly, it's somewhat badly documented, but it basically works the same > way as the other UNO-API incarnations in other languages, so any UNO > documentation will generally apply just fine. > > Also look for LibreOffice, as Ben Finney hinted. Since Oracle dropped Sun's > OOo commitment, many regard it as the future of OOo. It's certainly the > place where the development happens these days. I have dabbled with PyUNO in the past. One issue is that the api seems rather unpythonic (to me, at least).
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: open office in another language? Stefan Behnel <stefan_ml@behnel.de> - 2012-01-11 10:08 +0100
Re: open office in another language? Paul Rudin <paul.nospam@rudin.co.uk> - 2012-01-11 10:17 +0000
Re: open office in another language? Stefan Behnel <stefan_ml@behnel.de> - 2012-01-11 14:06 +0100
csiph-web