LibreOffice
LibreOffice 24.2 SDK API Reference
|
makes it possible to locate a specific connection point for a specified UIK and manages a sequence of connections points. More...
import"XConnectionPointContainer.idl";
Public Member Functions | |
sequence< type > | getConnectionPointTypes () |
XConnectionPoint | queryConnectionPoint ([in] type aType) |
void | advise ([in] type aType, [in] com::sun::star::uno::XInterface xListener) |
creates a connection between this object and a client's sink, where the sink implements the outgoing interface specified with ID. More... | |
void | unadvise ([in] type aType, [in] com::sun::star::uno::XInterface xListener) |
terminates a notification previously set up with advise at the container or at the suitable connection point. 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 locate a specific connection point for a specified UIK and manages a sequence of connections points.
An implementation of this interface must support the com::sun::star::uno::XWeak interface. Look at the language binding for a superclass or something else.
void advise | ( | [in] type | aType, |
[in] com::sun::star::uno::XInterface | xListener | ||
) |
creates a connection between this object and a client's sink, where the sink implements the outgoing interface specified with ID.
The interface is advised under the connection point you get with queryConnectionPoint( id )
.
Use this method instead of the advise method at the connection point, only if you know that the broadcaster supports the outgoing interface, or if it does not matter that the outgoing interface is not supported.
sequence<type> getConnectionPointTypes | ( | ) |
XConnectionPoint queryConnectionPoint | ( | [in] type | aType | ) |
aType | specifies the connection point's type. |
void unadvise | ( | [in] type | aType, |
[in] com::sun::star::uno::XInterface | xListener | ||
) |
terminates a notification previously set up with advise at the container or at the suitable connection point.