LibreOffice
LibreOffice 24.2 SDK API Reference
|
Component context to be passed to a component via com::sun::star::lang::XSingleComponentFactory. More...
import"XComponentContext.idl";
Public Member Functions | |
any | getValueByName ([in] string Name) |
Gets a value from the context. More... | |
com::sun::star::lang::XMultiComponentFactory | getServiceManager () |
Gets the service manager instance to be used from key /singletons/com.sun.star.lang.theServiceManager . More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
Component context to be passed to a component via com::sun::star::lang::XSingleComponentFactory.
Arbitrary values (e.g. deployment values) can be retrieved 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
.
This method has been added for convenience, because the service manager is used very often.
any getValueByName | ( | [in] string | Name | ) |
Gets a value from the context.
Name | name of value |