LibreOffice
LibreOffice 24.2 SDK API Reference
|
allows to insert, remove and access named objects. More...
import"XNamingService.idl";
Public Member Functions | |
com::sun::star::uno::XInterface | getRegisteredObject ([in] string Name) raises (Exception) |
provides a previous registered object. More... | |
void | registerObject ([in]string Name, [in]com::sun::star::uno::XInterface Object) raises (Exception) |
registers one object under the specified name. More... | |
void | revokeObject ([in]string Name) raises (Exception) |
revokes the registration of an object. 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 to insert, remove and access named objects.
com::sun::star::uno::XInterface getRegisteredObject | ( | [in] string | Name | ) | |
raises | ( | Exception | |||
) |
provides a previous registered object.
void registerObject | ( | [in] string | Name, |
[in] com::sun::star::uno::XInterface | Object | ||
) | |||
raises | ( | Exception | |
) |
registers one object under the specified name.
If any object is registered before, then this object is revoked automatically.
void revokeObject | ( | [in] string | Name | ) | |
raises | ( | Exception | |||
) |
revokes the registration of an object.
If the object was not previously registered, then this call does nothing.