module com::sun::star::script

(Global Index)

submodules

services

interfaces

structs

exceptions

enums

typedefs

constant groups


submodules


services

AllListenerAdapter makes it possible to generate the adapters from specific interfaces to the interface XAllListener .
Converter This service provide a widening converter. This means it can convert from one type to another if possible. What is possible?
byte: byte, (short * 1), (long * 1), (hyper * 1), (float * 1), (double * 1), (enum * 2), (any * 3), boolean, (char * 4), (string * 5)
short: byte, short, (long * 1), (hyper * 1), (float * 7), (double * 7), (enum * 2), (any * 3), boolean, char, (string * 5)
long: byte, short, long, (hyper * 1), (float * 7), (double * 7), enum, (any * 3), boolean, char, (string * 5)
hyper: byte, short, long, hyper, (float * 7), (double * 7), enum, (any * 3), boolean, char, (string * 5)
float: byte, short, long, hyper, float, (double * 7), (enum * 8), (any * 3), boolean, char, (string * 5)
double: byte, short, long, hyper, float, double, enum, (any * 3), boolean, char, (string * 5)
enum: (byte * 9), (short * 9), (long * 9), (hyper * 9), (float * 9), (double * 9), (enum * 10), (any * 3), (string * 11)
void: ok for all types. any: ok for all types. boolean: byte, short, long, hyper, float, double, (any * 3), boolean, char, (string * 12). 0 -> false, != 0 -> true
char: byte, short, (long * 1), (hyper * 1), (float * 7), (double * 7), enum, (any * 3), boolean, char, (string * 13)
string: byte, short, long, hyper, float, double, enum, (any * 3), boolean, char, string
struct: (any * 3), (struct * 14) interface: (any * 3), (struct * 14) exception: (any * 3), (exception * 14) union: (any * 3), (union * 14) sequence: (any * 3), (sequence * 15) short: byte, short, (long * 1), (hyper * 1), (float * 1), (double * 1), (enum * 2), (any * 3), boolean, (char * 4), (string * 5), (interface * 6)
1: only convert if the value is in the range of the target type.
2: only convert if the value, not the position, of the enum is in the range of the target type.
3: get value until it is not an any. Than convert it with the other rules.
4: only convert if the value of the character is between 0 - 255.
5: only convert if the represents an dezimal, hexadezimal (0x...) or an floating point number. Examples: 10, 0x10, 10.045, 10,555, +10, +10.6e10, -10.6e-10, .16. 6: only convert if the interface supply the 7: only convert if the value is in the range of the target type. The value is roundet to an integer.
8: only converted if the float can converted back to the same enum value. 9: only converted if the number is one of the enumeration type values. Normally you need core reflection information of the enum type. 10: only converted if it is the same enumeration type. 11: only converted if the string contains the name of an enumeration type value. Normally you need core reflection information of the enum type. 12: only converted if the value of the string is "1", "true" or "0", "false". The comparision is case insensitiv. 13: only converted if the length of the string is 1 or 0. 14: only converted if the types are equal or the source type is derived from the destination type. 15: only converted if each element of the source sequence can converted to an element of the destination sequence.
Engine service that any scripting engine must implement.
Invocation factory service that allows construction of Invocation objects.
InvocationAdapterFactory allows you to create adapter interfaces of any given type for an invocation interface.
JavaScript service is implementation of a JavaScript interpreter.

interfaces

XAllListener specifies a listener combining all methods of a listener interface in a single generic call.
XAllListenerAdapterService allows the generation of adapters from specific interfaces to the XAllListener .
XDebugging makes it possible to set breakpoints in an interpreter.
XEngine makes it possible to control a scripting engine.
XEngineListener makes it possible to receive events from a scripting engine.
XEventAttacher makes it possible to attach script events given by a sequence of ScriptEventDescriptor structures to a given interface.
XEventAttacherManager registers listeners for specified events.
XInvocation makes it possible to invoke methods and set/get properties at an object which corresponds with the object which implements this interface. Container access is available through XIndexContainer , XNameContainer and XEnumerationAccess .

XInvocation2 Extension of XInvocation to provide additional information about the methods and properties that are accessable via XInvocation.

XInvocationAdapterFactory creates adapter interfaces of any given type for an invocation interface by using this adapter factory interface.
XInvocationAdapterFactory2 You can create adapter object of given types for an invocation interface by using this adapter factory interface.
XLibraryAccess provides access to additional scripting code.
XLibraryContainer Provides access to a library system.
XScriptEventsAttacher This interface can be used to attach script events to a number of objects that give access to the definition of events that should be attached to them, e.g. by supporting XEventsSupplier
XScriptEventsSupplier Gives access to an event container represented by an XNameContainer. containing ScriptEventDescriptor instances
XScriptListener makes it possible to receive ScriptEvent s.
XStarBasicAccess Interface representing a library and provides access to its modules
XStarBasicDialogInfo Interface describing old style basic dialog (SI controls) in binary data
XStarBasicLibraryInfo Interface representing a library and provides access to its modules
XStarBasicModuleInfo Script Module containing some scripting code in a certain scripting language
XTypeConverter provides standard type conversions.

structs

AllEventObject This event is a wrapper for an original event in a forwarding event.
ContextInformation provides information about a certain stack frame.
FinishEngineEvent event contains the reasons and the data for the XEngineListener::finished() method.
InterruptEngineEvent describes an interrupt which occurs in the scripting engine.
InvocationInfo This struct is used to specify information about object members (methods or properties) accessed via XInvocation, such as names, types, parameters

ScriptEvent script event that gets delivered whenever a script event takes place.
ScriptEventDescriptor 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.

exceptions

CannotConvertException is thrown to indicate that a type conversion can not be performed.
CannotCreateAdapterException is thrown by an attacher if an adapter service cannot create the appropriated adapter.

enums

FinishReason contains the response for a scripting engine termination.
InterruptReason values used to specify the response for a scripting engine interrupt.
MemberType These values are used to specify a member accessible by XInvocation

typedefs


constant groups

FailReason these values are used to specify the reason why a type conversion failed.
Top of Page