LibreOffice
LibreOffice 24.2 SDK API Reference
|
Allows creating instances specified by a string name. More...
import"XMultiServiceFactory.idl";
Public Member Functions | |
com::sun::star::uno::XInterface | createInstance ([in] string aServiceSpecifier) raises ( com::sun::star::uno::Exception ) |
Creates an instance classified by the specified name. More... | |
com::sun::star::uno::XInterface | createInstanceWithArguments ([in] string ServiceSpecifier, [in] sequence< any > Arguments) raises ( com::sun::star::uno::Exception ) |
Creates an instance classified by the specified name and passes the arguments to that instance. More... | |
sequence< string > | getAvailableServiceNames () |
Provides the available names of the factory to be used to create instances. 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... | |
Allows creating instances specified by a string name.
com::sun::star::uno::XInterface createInstance | ( | [in] string | aServiceSpecifier | ) | |
raises | ( | com::sun::star::uno::Exception | |||
) |
Creates an instance classified by the specified name.
aServiceSpecifier | classified name of instance |
com::sun::star::uno::XInterface createInstanceWithArguments | ( | [in] string | ServiceSpecifier, |
[in] sequence< any > | Arguments | ||
) | |||
raises | ( | com::sun::star::uno::Exception | |
) |
Creates an instance classified by the specified name and passes the arguments to that instance.
ServiceSpecifier | classified name of instance |
Arguments | arguments passed to the instance |
sequence<string> getAvailableServiceNames | ( | ) |
Provides the available names of the factory to be used to create instances.