Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

deprecated struct ContextInformation
Usage Restrictions
deprecated
Description
provides information about a certain stack frame.

Elements' Summary
Name Full qualified name to adress the module or function associated with the context. If the module or function can't be adressed by name, e.g., in case that a runtime generated eval-module is executed, this string is empty  
SourceCode Source code of the Module, that is associated with the context. If the source can be accessed using the ModuleName or if the source is unknown (executing compiled code) this string can be empty.  
StartLine contains the first line in the module's source code associated with the context.  
StartColumn contains the first column in the StartLine associated with the context.  
EndLine contains the last line in the module's source code associated with the context.  
EndColumn contains the first column in the EndLine that is NOT associated with the context.  
LocalVariableNames Get all names of the local variable in this context.  
Elements' Details
Name
string Name;
Description
Full qualified name to adress the module or function associated with the context. If the module or function can't be adressed by name, e.g., in case that a runtime generated eval-module is executed, this string is empty
SourceCode
string SourceCode;
Description
Source code of the Module, that is associated with the context. If the source can be accessed using the ModuleName or if the source is unknown (executing compiled code) this string can be empty.
StartLine
long StartLine;
Description
contains the first line in the module's source code associated with the context.

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, XLibraryAccess::getFunctionCode
StartColumn
long StartColumn;
Description
contains the first column in the StartLine associated with the context.
EndLine
long EndLine;
Description
contains the last line in the module's source code associated with the context.
EndColumn
long EndColumn;
Description
contains the first column in the EndLine that is NOT associated with the context.
LocalVariableNames
sequence< string > LocalVariableNames;
Description
Get all names of the local variable in this context.
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.