Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: script ::

struct ScriptEventDescriptor
Description
describes an effect, especially a script to be executed, for a certain event given by the listener type and the name of the event method.

Elements' Summary
ListenerType listener type as string, same as listener-XIdlClass.getName().  
EventMethod event method as string.  
AddListenerParam data to be used if the addListener method needs an additional parameter.  
ScriptType type of the script language as string; for example, "Basic" or "StarScript".  
ScriptCode script code as string (the code has to correspond with the language defined by ScriptType).  
Elements' Details
ListenerType
string ListenerType;
Description
listener type as string, same as listener-XIdlClass.getName().
EventMethod
string EventMethod;
Description
event method as string.
AddListenerParam
string AddListenerParam;
Description
data to be used if the addListener method needs an additional parameter.

If the type of this parameter is different from string, it will be converted, when added.

ScriptType
string ScriptType;
Description
type of the script language as string; for example, "Basic" or "StarScript".
ScriptCode
string ScriptCode;
Description
script code as string (the code has to correspond with the language defined by ScriptType).
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.