Apache OpenOffice (AOO) Bugzilla – Issue 9976
cannot assign binding to script in spreadsheet document
Last modified: 2003-03-11 18:14:24 UTC
OpenOffice.org 643C, Windwos 2000, Scripting Framework early developer release version 0.1 Open the example ExampleSpreadSheet.sxc document supplied in the scripting framework install (<office-install>/user/Scripts/java/MemoryUsage). Select ctrl-shft-m, select ok to the warning message. Note that the document updates the memory usage. Assign a new key binding to the script:- 1. Select tools, assign script (java) to key 2. In the select script function select MemoryUtils.MemUsage. 3. In the Key Group, select SHIFT+CONTROL+F keys 4. In the shortcut keys select Shift+control+F4. 5. Select New Script Key. 6. Select OK, select ok when prompted to restart OpenOffice.org. 7. Exit OpenOffice.org (also quickstarter) and relaunch it. 8 . Open ExampleSpreadSheet.sxc, select Shift+Control+F4 --> bug nothing happens i.e. the script does not execute.
Reassigning to John to find appropriate owner.
Close it out. Will be covered by new Feature for Document support [Issue 10517 Better Document Script and Event support in the Assign].
reoping issue. Generally the assign binding to a document script is working. However using the ExampleSpreadSheet document assigning the Document MemoryUtils.MemUsage script to say ctrl-shift-F3, results in no action occuring when the user subsequently selects ctrl-shift-F3 in the document. Note security settings were set to always
changing priority to p4
Assign to Noel to investigate and fix
Sounds like a key conflict, will investigate..
ExampleSpreadsheet has its own bindings embedded in the document (unzip -l the doc and u will see and Configuration dir), these bindings take precedence over the application specific bindings in ..user/config/soffce/calcbinding.xml. Note: This is also the behaviour of StarBasic, we inherit this behaviour as we piggyback the event dispatching from the key bindings. To create a f3 binding for ExampleSpreadsheet you would need a)create the binding as normal using script framework assign dialogs ( will be valid for all docs opened ) b)to go to the configure dialog ( under Tools ) click save as, navigate to ExampleSpreadSheed and click ok. c) go back to Assign to Key dialog, remove the binding created in step a. You should now have a new binding for f3, for ExampleSpreadsheet only This functionality should be documented
As mentioned on the qa dev list on March 5th I will close all resolved duplicate issues. Please see this posting for details. First step in IssueZilla is unfortunately to set them to verified.
As mentioned on the qa dev list on March 5th I will close all resolved <wontfix/duplicate/worksforme/invalid> issues. Please see this posting for details.