Hi,
I was wondering if i can use open office with a program in python.
I want to be able to do many of the functionality form creating a spreadsheet to updating different components to operating on them. How can i do this? Does open office have an SDK for this? THANK YOU!
Using OpenOffice.org with Python
Using OpenOffice.org with Python
openoffice 2 ubuntu 9.10
- Hagar Delest
- Moderator
- Posts: 32628
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: using open office with python
Hi and welcome to the forum!
See Need thorough documentation of OOo BASIC objects, etc. Several links in the various topics.
For the SDK: http://www.openoffice.org/download/sdk/index.html
Python can be used with OOo.
Please add '[Solved]' at the beginning of your first post title (edit button) if your issue has been fixed.
See Need thorough documentation of OOo BASIC objects, etc. Several links in the various topics.
For the SDK: http://www.openoffice.org/download/sdk/index.html
Python can be used with OOo.
Please add '[Solved]' at the beginning of your first post title (edit button) if your issue has been fixed.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: Using OpenOffice.org with Python
Be aware that you have to use the Python that comes integrated with OpenOffice or do the integration yourself as explained here. The link points to an old page that refers to Python 2.2, rather than the 2.6 that is current in OpenOffice, but I hope it is otherwise correct.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
-
- Posts: 3
- Joined: Sat Jan 19, 2013 6:25 pm
Re: Using OpenOffice.org with Python
You can use OpenOffice with Python, but as the Hagar Delest hints, the documentation isn't great at the moment. Because I've found it so frustrating, I've started writing some more complete documentation, which you can find at http://www.documenthacker.com / http://documenthacker.wordpress.com. It's only for Writer at the moment, but the biggest frustrations are simply getting going with OpenOffice / LibreOffice, once you get going it becomes a lot easier to work out how to do different tasks. The Python interfaces is actually pretty neat (a lot nicer than Java, which I expected to be the best given OO's history), it just hasn't been that well documented traditionally.
LibreOffice 3.6.2.2 on Ubuntu 12.10