struct ScriptEventDescriptor in module com::sun::star::script::

(Global Index)

Syntax

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.

Field 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).

Field Details



ListenerType

Syntax

string ListenerType;

Description

listener type as string, same as listener-XIdlClass.getName().


EventMethod

Syntax

string EventMethod;

Description

event method as string.


AddListenerParam

Syntax

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


ScriptType

Syntax

string ScriptType;

Description

type of the script language as string; for example, "Basic" or "StarScript".


ScriptCode

Syntax

string ScriptCode;

Description

script code as string (the code has to correspond with the language defined by ScriptType).

Top of Page