(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.