LibreOffice
LibreOffice 24.2 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. More... | |
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. More... | |
sequence< string > | getAvailableServiceNames () |
Gets the names of all supported services. 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... | |
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.