LibreOffice
LibreOffice 24.2 SDK API Reference
|
provides the possibility of receiving an event for configuration of parameters. More...
import"XDatabaseParameterBroadcaster.idl";
Public Member Functions | |
void | addParameterListener ([in] com::sun::star::form::XDatabaseParameterListener aListener) |
adds the specified listener, to allow it to fill in necessary parameter values. More... | |
void | removeParameterListener ([in] com::sun::star::form::XDatabaseParameterListener aListener) |
removes the specified listener. 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... | |
provides the possibility of receiving an event for configuration of parameters.
This interface is usually implemented by components which are to execute a statement, and may need parameter information. For example, the com::sun::star::form::component::DataForm is such a component. When it is bound to a statement which contains parameters, or to a query which is based upon a parametrized statement, it needs values to fill in the parameters with actual values when it is being loaded. One method to gather these values is calling the XDatabaseParameterListener listeners, which can fill them in.
void addParameterListener | ( | [in] com::sun::star::form::XDatabaseParameterListener | aListener | ) |
adds the specified listener, to allow it to fill in necessary parameter values.
aListener | the listener to add. |
void removeParameterListener | ( | [in] com::sun::star::form::XDatabaseParameterListener | aListener | ) |
removes the specified listener.
aListener | the listener to remove. |