-1

I'm working on a script to create an OpenOffice document. After this i want to save the file. Maybe later also as an PDF.. Google doesn't give me any information how to fix this..

My question here is: What method should be used to save an openoffice-writer document?

Thanks in advance!

ProCx
  • 199
  • 5
  • 18

2 Answers2

1

You should look at this similar question which answer covers both MSWord and OOWriter (by the way, creating a Word file could be the easiest to be read with OpenOffice).

How can I create a Word document using Python?

Alexis

Community
  • 1
  • 1
Alexis
  • 707
  • 8
  • 33
0

You can create a rtf file with pyrtf or it's variants, and for pdf you can use reportlab. These are libraries for use in python, not to control remotely oo. There are other libraries for other formats.

f p
  • 3,165
  • 1
  • 27
  • 35