in reply to Moving from MS Office OLE code to Openoffice for printing RTF documents
It is a different object model to Word but you might find http://udk.openoffice.org/common/man/tutorial/office_automation.html useful.
/J\