LibreOffice
LibreOffice 24.2 SDK API Reference
|
Factory interface to create instances of an implementation of a service specification. More...
import"XSingleComponentFactory.idl";
Public Member Functions | |
com::sun::star::uno::XInterface | createInstanceWithContext ([in] com::sun::star::uno::XComponentContext Context) raises (com::sun::star::uno::Exception) |
Creates an instance of a service implementation. More... | |
com::sun::star::uno::XInterface | createInstanceWithArgumentsAndContext ([in] sequence< any > Arguments, [in] com::sun::star::uno::XComponentContext Context) raises ( com::sun::star::uno::Exception ) |
Creates an instance of a component and initializes the new instance with the given arguments and context. 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 to create instances of an implementation of a service specification.
com::sun::star::uno::XInterface createInstanceWithArgumentsAndContext | ( | [in] sequence< any > | Arguments, |
[in] com::sun::star::uno::XComponentContext | Context | ||
) | |||
raises | ( | com::sun::star::uno::Exception | |
) |
Creates an instance of a component and initializes the new instance with the given arguments and context.
Arguments | arguments passed to implementation |
Context | the instance gets its deployment values from this |
com::sun::star::uno::XInterface createInstanceWithContext | ( | [in] com::sun::star::uno::XComponentContext | Context | ) | |
raises | ( | com::sun::star::uno::Exception | |||
) |
Creates an instance of a service implementation.
Context | the instance gets its deployment values from this |