You'd be better off in a forum addressing Open Office, the OLE automation server that is used for automation is the same for VFP or any other programming language able to use OLE automation, and the automation server methods, properties and the overall object model of Open Office therefore are completely independent of VFP and so the automation is the same.
In short, any language has the concept of variables that are objects, in this case the root of all automation is an automation server object. You already have code at hand, that has a starting point like this:
Code:
Local loOpenOfficeWriter
loOpenOfficeWriter = CreateObject(...)
And then you use methods of that object, that are part of the Open Office automation server and its definition and completely unrelated to VFP. So that's a case for asking in an Open Office programming forum., might not even exist here on tek-tips.
In dubio pro reo: Of course it's more likely you find someone that has automated Open Office Writer with VFP here, but it's not the main objective of VFP to automate other applications. So you might wait, you might already have asked in other forums as well.
I only mention it as it's already the second question you ask specific to Open Office though you had no fruitful response to your first question, judging by you not responding to the already given answers.
Chriss