To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=70215





------- Additional comments from [EMAIL PROTECTED] Tue Feb  5 14:38:33 +0000 
2008 -------
The defect is reproduced on OOo V2.3.1 Intel Windows XP, Service Pack II. 

1.Start up OOo writer with a new document
2.Click on Tools > Marcros > Organize Marcros > JavaScript 
3.On the JavaScript Macros panel, click to select My Macros, and then click on 
Create…
4.In the Create Library window, type in a name to create a libary. ie. 
myTestLib, and click Ok.
5.Expand My Macros, and click to select the library, myTestLib, you just 
created. Click on Create… Enter a name for your JavaScript program, ie, 
myTestJS, and click Ok.
6.Next select the JS program that you just created, and click on Edit.
7.A “Hello World” sample program is displayed. You can either write your own 
testing JavaScript program or use it for this test. 
8.Change the last instruction to: (as suggested by the reporter)

            xTextRange.setString( "Hello World 
            (in JavaScript)", 1 );

9.Click File > Save
10.Click File > Run [Observe that there’s no error message, nor there’s 
output]
11.Click File > Exit to get out of the Rhino Debugger. 
12.Tools > Macros > Run Macros
13.Select the macro, ie, myTestJS.js, and click Run

The following run time error message is displayed in a prompt. 

A Scripting Framework error occurred while running the JavaScript script 
myTestJS.js.
Message: Can’t find method $Proxy31.setString(string,number). (<stdin>; line31)

Further testing has been performed on another instruction in the test script, 
and the same problem happens. 

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to