LibreOffice
LibreOffice 24.8 SDK API Reference
|
Factory interface for creating component instances giving a context from which to retrieve deployment values. More...
import <XMultiComponentFactory.idl;
Public Member Functions | |
com::sun::star::uno::XInterface | createInstanceWithContext ([in] string aServiceSpecifier, [in] com::sun::star::uno::XComponentContext Context) raises (com::sun::star::uno::Exception) |
Creates an instance of a component which supports the services specified by the factory. | |
com::sun::star::uno::XInterface | createInstanceWithArgumentsAndContext ([in] string ServiceSpecifier, [in] sequence< any > Arguments, [in] com::sun::star::uno::XComponentContext Context) raises (com::sun::star::uno::Exception) |
Creates an instance of a component which supports the services specified by the factory, and initializes the new instance with the given arguments and context. | |
sequence< string > | getAvailableServiceNames () |
Gets the names of all supported services. | |
![]() | |
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. | |
Factory interface for creating component instances giving a context from which to retrieve deployment values.
com::sun::star::uno::XInterface createInstanceWithArgumentsAndContext | ( | [in] string | ServiceSpecifier, | |||
[in] sequence< any > | Arguments, | |||||
[in] com::sun::star::uno::XComponentContext | Context ) | |||||
raises | ( | com::sun::star::uno::Exception ) |
Creates an instance of a component which supports the services specified by the factory, and initializes the new instance with the given arguments and context.
ServiceSpecifier | service name |
Arguments | arguments |
Context | context the component instance gets its deployment values from |
com::sun::star::uno::XInterface createInstanceWithContext | ( | [in] string | aServiceSpecifier, | |||
[in] com::sun::star::uno::XComponentContext | Context ) | |||||
raises | ( | com::sun::star::uno::Exception ) |
Creates an instance of a component which supports the services specified by the factory.
aServiceSpecifier | service name |
Context | context the component instance gets its deployment values from |
sequence< string > getAvailableServiceNames | ( | ) |
Gets the names of all supported services.