interface XComponentContext in module com::sun::star::uno::

(Global Index)

Syntax

interface XComponentContext : com::sun::star::uno::XInterface ;

Description

Component context to be granted to a component for running. Arbitrary values can be retrieved from the context.

Method Summary

getValueByName Gets a value from the context.

getServiceManager Gets the service manager instance to be used (or null). This method has been added for convenience, because the service manager is an often used object.

Method Details



getValueByName

Syntax

any getValueByName (
string Name );

Description

Gets a value from the context.

Parameter Name

name of value

Returns

value

getServiceManager

Syntax

com::sun::star::lang::XMultiComponentFactory getServiceManager ();

Description

Gets the service manager instance to be used (or null). This method has been added for convenience, because the service manager is an often used object.

Top of Page