Apache OpenOffice (AOO) Bugzilla – Issue 16953
Errors in Python "Hello World" sample
Last modified: 2007-06-18 10:30:21 UTC
The first Hello World sample on the URL given (for running from outside of Open Office) has two errors in it. 1) refers to remoteContext, which is undefined. Changing to localContext fixed it # get the central desktop object desktop = smgr.createInstanceWithContext("com.sun.star.frame.Desktop",remoteContext) 2) refers to doc, which is undefined. Changing to model fixed it. # access the document's text property text = doc.Text
that's mine.
fixed now.
This issue has been "RESOLVED" for quite a time, I assume I can close it ...