LibreOffice: XScriptInvocationContext Interface Reference

LibreOffice LibreOffice 7.5 SDK API Reference

Loading...
Searching...
No Matches
Public Attributes | List of all members
XScriptInvocationContext Interface Reference

indicates support for executing scripts contained in a, possibly foreign, document. More...

## Public Attributes
XEmbeddedScripts | ScriptContainer
| denotes the document which contains the scripts which are to be invoked from the component implementing the XScriptInvocationContext interface.

## Detailed Description

indicates support for executing scripts contained in a, possibly foreign, document.

If the component implementing it is a document, which supports embedding scripts into itself, then ScriptContainer refers to the document itself. Implementing this interface is unnecessary then, instead the document should simply implement XEmbeddedScripts directly.

If the interface is implemented by a document which does not itself support embedding scripts into it, but which is associated unambiguously with a document which does, then this other document is denoted by ScriptContainer.

If the interface is implemented by a controller, then ScriptContainer refers to the document which supports embedding scripts, and which is unambiguously associated with the controller. This must not necessarily be the model returned by com::sun::star::frame::XController::getModel().

Since
  OOo 2.4

## Member Data Documentation

## ◆ ScriptContainer

XEmbeddedScripts ScriptContainer
| attributereadonly

denotes the document which contains the scripts which are to be invoked from the component implementing the XScriptInvocationContext interface.

The documentation for this interface was generated from the following file:

- com/sun/star/document/XScriptInvocationContext.idl