LibreOffice
LibreOffice 6.2 SDK API Reference
Public Member Functions | List of all members
XBindableValue Interface Reference

specifies support for being bound to an external value More...

import"XBindableValue.idl";

Inheritance diagram for XBindableValue:
XInterface BindableControlModel BindableDataAwareControlModel BindableIntegerValueRange ValidatableBindableControlModel BindableDatabaseCheckBox BindableDatabaseComboBox BindableDatabaseDateField BindableDatabaseFormattedField BindableDatabaseListBox BindableDatabaseNumericField BindableDatabaseRadioButton BindableDatabaseTextField BindableDatabaseTimeField

Public Member Functions

void setValueBinding ([in] XValueBinding aBinding) raises ( IncompatibleTypesException )
 sets an external instance which controls the value of the component More...
 
XValueBinding getValueBinding ()
 retrieves the external instance which currently controls the value of the component 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...
 

Detailed Description

specifies support for being bound to an external value

See also
XValueBinding
Developers Guide
Forms - Value Bindings

Member Function Documentation

XValueBinding getValueBinding ( )

retrieves the external instance which currently controls the value of the component

void setValueBinding ( [in] XValueBinding  aBinding)
raises (IncompatibleTypesException
)

sets an external instance which controls the value of the component

Any previously active binding will be revoked. There can be only one!

Parameters
aBindingthe new binding which is to be used by the component. May be NULL, in this case only the current binding is revoked.
Exceptions
IncompatibleTypesExceptionif the new binding (provided it's not NULL) supports only types which are incompatible with the types of the bindable component.

The documentation for this interface was generated from the following file: