PyUno is the official Python interface to the OpenOffice component model, UNO.
Questions tagged [pyuno]
52 questions
0
votes
2 answers
Python Uno Not Found On Latest Open Office Installation
Am now on the third Open Office 4 installation this week, direct from their site, ensuring 'Python Uno' is selected. Whether running
C:\Program Files (x86)\OpenOffice 4\program\python-core-2.7.6\bin\python.exe
directly or setting it as the…

user2422819
- 177
- 13
0
votes
1 answer
Extract macro from Office document using pyUNO
I've got a Microsoft Word document with an embedded macro. I've managed to load a document using this example Loading a document on OpenOffice using an external Python program
Now I'm trying to get macros code from my document, but can't figure, how…

BSen
- 187
- 2
- 16
0
votes
0 answers
PyODConverter Fails for Files with Japanese name
I am unable to use PyODConverter to convert files to other formats, if the files are having filename in Japanese or Chinese.
Break point:
document = self.desktop.loadComponentFromURL(inputUrl, "_blank", 0, self._toProperties(loadProperties))
This…

user1839132
- 121
- 2
- 10
0
votes
1 answer
OpenERP 7 - Can't install report_aeroo_ooo due to missing python dependencies (Uno)
I can't install report_aeroo_ooo in OpenERP 7 because there are some unmet python dependencies concerning the uno modules.
Apparently, new versions of OpenOffice and LibreOffice come with a uno version for python 3 so you can't use it with python…

MCL
- 31
- 6
0
votes
2 answers
Updating MS Word (or Open Office) bookmarks with Python
I'd like to fill MSWord bookmarks from a python script.
I can't find such functions in win32com(MSWord) or in PyUno(OpenOffice).
Does anyone know how to use bookmarks from Python?

Antoine
- 55
- 1
- 7
0
votes
1 answer
Using pyUno to write text into Libre/OpenOffice Writer
I am trying to export some text from Python into a Libre/OpenOffice Writer document which I created according to these instructions.
For example, using
cursor.setPropertyValue("CharHeight", 20)
cursor.setPropertyValue("CharWeight",…

Jens
- 8,423
- 9
- 58
- 78
-2
votes
1 answer
What's the difference between PyUno and PyUno Bridge?
What's the difference between PyUno and PyUno Bridge? Or are they two names for the same thing?

Edward L. Stauff
- 377
- 1
- 7