LibreOffice
LibreOffice 24.2 SDK API Reference
|
makes it possible to create COM objects as UNO objects. More...
import"OleObjectFactory.idl";
Exported Interfaces | |
interface | com::sun::star::lang::XMultiServiceFactory |
Additional Inherited Members | |
Public Member Functions inherited from XMultiServiceFactory | |
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... | |
makes it possible to create COM objects as UNO objects.
A COM object must have a ProgId since the ProgId is used as argument for XMultiServiceFactory::createInstance. The only interfaces which are mapped are IUnknown
and IDispatch
. The created UNO objects support com::sun::star::script::XInvocation if the original COM objects support IDispatch.
The optional parameters of the method com::sun::star::lang::XMultiServiceFactory::createInstanceWithArguments() are reserved for future use; at this time they are ignored.