|
LibreOffice
LibreOffice 24.8 SDK API Reference
|
allows to export UNO objects to other processes. More...
import "XInstanceProvider.idl";
Public Member Functions | |
| com::sun::star::uno::XInterface | getInstance ([in] string sInstanceName) raises ( com::sun::star::container::NoSuchElementException ) |
| gets called, when an initial object is requested from a remote process. | |
| Public Member Functions inherited from XInterface | |
| 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. | |
allows to export UNO objects to other processes.
| com::sun::star::uno::XInterface getInstance | ( | [in] string | sInstanceName | ) | ||
| raises | ( | com::sun::star::container::NoSuchElementException ) | ||||
gets called, when an initial object is requested from a remote process.
You may either create a new instance or return an existing object.
| sInstanceName | The name of the requested object. |
| NoSuchElementException | You may throw this exception to indicate, that there is no object for this name. Due to a specification bug, this exception will appear as a RuntimeException at the XBridge.getInstance() method. |