LibreOffice
LibreOffice 25.2 SDK API Reference
 
Loading...
Searching...
No Matches
XComponentContext Interface Referencepublished

Component context to be passed to a component via com::sun::star::lang::XSingleComponentFactory. More...

import "XComponentContext.idl";

Inheritance diagram for XComponentContext:
XInterface BootstrapContext

Public Member Functions

any getValueByName ([in] string Name)
 Gets a value from the context.
 
com::sun::star::lang::XMultiComponentFactory getServiceManager ()
 Gets the service manager instance to be used from key /singletons/com.sun.star.lang.theServiceManager.
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object.
 
void acquire ()
 increases the reference counter by one.
 
void release ()
 decreases the reference counter by one.
 

Detailed Description

Member Function Documentation

◆ getServiceManager()

Gets the service manager instance to be used from key /singletons/com.sun.star.lang.theServiceManager.

This method has been added for convenience, because the service manager is used very often.

Returns
service manager; throws DeploymentException in case service manager is null

◆ getValueByName()

any getValueByName ( [in] string Name)

Gets a value from the context.

Parameters
Namename of value
Returns
value

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