Apache OpenOffice (AOO) Bugzilla – Issue 29495
Scripting Framework changes
Last modified: 2004-11-11 13:04:30 UTC
The Scripting framework described in: http://specs.openoffice.org/scripting_framework/ScriptingFrameworkSpecification.sxw and the UI changes described in: http://specs.openoffice.org/scripting_framework/ScriptOrganizerSpecification.sxw http://specs.openoffice.org/scripting_framework/MacroSelectorSpecification.sxw and implmented in in the scriptingf4 CWS , were integrated into milestone m40. These changes will have an impact on both the Users' & Developers' guides.
YJ: will make changes in the corresponding documentation
Created attachment 17381 [details] ScriptingFramework chapter
Attached chapter for Scripting Framework
*** Issue 31908 has been marked as a duplicate of this issue. ***
*** Issue 28524 has been marked as a duplicate of this issue. ***
Illustration 1.1 should be redone. The string "Organize Macros..." is incorrrect and has been replace with "Organize Macros" (no ellipsis).
Error in section 1.3.1: In the first code example in this section (hello world in BeanShell), the first line after the imports should read oDoc = XSCRIPTCONTEXT.getDocument(); as per the correct documentation in section 1.3.2
Error in 1.6.3. Line after the table "Constants of [IDL:com.sun.star.script.browse.BrowseNodeTypes]" that reads "The objects implementing XBrowseNodes can must also implement [com.sun.star.beans.XPropertySet]." should read "The objects implementing XBrowseNodes must also implement [com.sun.star.beans.XPropertySet]."
YJ: edited and incorporated into guide. Added also some index entries
Here are instructions for grabbing the screenshots in this chapter Illustration 1.1: Tools/Macro submenu - Open the Tools/Macros submenu Illustration 1.2: Macro Selector dialog - Click Tools/Macros/Run Macro... Illustration 1.3: BeanShell Organizer - Click Tools/Macros/Organize Macros/BeanShell... Illustration 1.4: BeanShell Editor - Click Tools/Macros/Organize Macros/BeanShell... - In the BeanShell Macros dialog expand the StarOffice Macros item - Expand the HelloWorld item - Select the helloworld.bsh item and click the Edit button - The BeanShell Editor should open Illustration 1.5: JavaScript Debugger - Click Tools/Macros/Organize Macros/JavaScript... - In the JavaScript Macros dialog expand the StarOffice Macros item - Expand the HelloWorld item - Select the helloworld.js item and click the Edit button - The JavaScript Debugger should open Illustration 1.6: JavaScript Debugger with Stack and Watch tabs displayed - Follow the instructions for Illustration 1.5 to open the JavaScript Debugger - At the bottom of the JavaScript Debugger click the small up arrow to open the Stack and Watch tabs
YJ: verified, closing issue