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

(Global Index)

Syntax

struct InterruptEngineEvent : com::sun::star::lang::EventObject ;

Description

describes an interrupt which occurs in the scripting engine.

Field Summary

Name fully qualified name to address the module or function affected by the event that took place.

SourceCode source code of the Module affected by the event that took place.

StartLine contains the first line in the module's source code that is affected by the event that took place.

StartColumn contains the first column in the "StartLine" that is affected by the event that took place.

EndLine contains the last line in the module's source code that is affected by the event that took place.

EndColumn contains the first column in the "EndLine" which is NOT affected by the event that took place.

ErrorMessage error message.

Reason contains the interrupt reason.

Field Details



Name

Syntax

string Name;

Description

fully qualified name to address the module or function affected by the event that took place.

If the module or function can't be addressed by name (for example, in case that a runtime-generated eval-module is executed), this string is empty.


SourceCode

Syntax

string SourceCode;

Description

source code of the Module affected by the event that took place.

If the source can be accessed using the ModuleName, or if the source is unknown (executing compiled code), this string can be empty.


StartLine

Syntax

long StartLine;

Description

contains the first line in the module's source code that is affected by the event that took place.

If "name" addresses a function, all line and column values are nevertheless given relative to the module's source. If source code is not available, this value addresses a binary position in the compiled code.

See also

XLibraryAccess::getModuleCode

See also

XLibraryAccess::getFunctionCode

StartColumn

Syntax

long StartColumn;

Description

contains the first column in the "StartLine" that is affected by the event that took place.


EndLine

Syntax

long EndLine;

Description

contains the last line in the module's source code that is affected by the event that took place.


EndColumn

Syntax

long EndColumn;

Description

contains the first column in the "EndLine" which is NOT affected by the event that took place.


ErrorMessage

Syntax

string ErrorMessage;

Description

error message.

Only valid if Reason is RuntimeError or CompileError.

Only valid if Reason is RuntimeError or CompileError.


Reason

Syntax

com::sun::star::script::InterruptReason Reason;

Description

contains the interrupt reason.

Top of Page