Zuerst einmal: Das Problem tritt NICHT bei LO auf, sondern bei Symphony!!!
Bei folgender Zeile bekomme ich immer einen "Function or Method not found" - Fehler:
Code: Alles auswählen
Dim inputsheet
Dim aEventArgs(1) AS new com.sun.star.beans.PropertyValue
Dim bEventArgs(1) AS new com.sun.star.beans.PropertyValue
inputsheet = thisComponent.sheets(1)
aEventArgs(0).Name = "EventType"
aEventArgs(0).Value = "Script"
aEventArgs(1).Name = "Script"
aEventArgs(1).Value = "vnd.sun.star.script:Standard.Functions.get_arow?language=Basic&location=document"
inputsheet.Events.replaceByName("OnDoubleClick",aEventArgs) ' <-- hier wird der Fehler geworfen
Hat hier jemand
a) eine Ahnung, warum das bei Symphony nicht funktionieren könnte? Unter LibreO und OpenO funktionierts einwandfrei.
b) eine alternative herangehensweise, die dann hoffentlich auch unter Symphony funktionert?