Issue 16953

Summary: Errors in Python "Hello World" sample
Product: udk Reporter: davidfraser <davidf>
Component: documentationAssignee: joergbudi
Status: CLOSED FIXED QA Contact: issues@www <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.1 RC   
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
URL: http://udk.openoffice.org/python/python-bridge.html
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description davidfraser 2003-07-16 14:27:15 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
Comment 1 joergbudi 2003-07-16 22:05:08 UTC
that's mine.
Comment 2 joergbudi 2003-07-16 22:10:22 UTC
fixed now.
Comment 3 kay.ramme 2007-06-18 10:30:21 UTC
This issue has been "RESOLVED" for quite a time, I assume I can close it ...