-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!

2
  • Your precise technical question isn't clear or is too general. Please fix it. Commented Jun 7, 2012 at 11:18
  • 1
    What do you have so far? In what format? Commented Jun 7, 2012 at 12:03

2 Answers 2

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

Sign up to request clarification or add additional context in comments.

1 Comment

I'm also using a win32com. Is it possible to achieve this with win32com?
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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.