ooodev.adapter.form.data_aware_control_model_partial module

class ooodev.adapter.form.data_aware_control_model_partial.DataAwareControlModelPartial(component)[source]

Bases: object

Class is an abstract service for specialized FormControlModels which are data aware and thus can be bound to a data source

Parameters:

component (DataAwareControlModel) –

__init__(component)[source]

Constructor

Parameters:

component (SheetCellCursor) – UNO Sheet Cell Cursor Component

Return type:

None

property bound_field: com.sun.star.beans.XPropertySet

Gets/Sets the name of the field in the data source to which the control is bound.

Return type:

XPropertySet

property data_field: str

Gets/Sets the name of the field in the data source to which the control is bound.

Return type:

str

property input_required: bool

Gets/Sets whether or not input into this field is required, when it is actually bound to a database field.

Return type:

bool

property label_control: com.sun.star.beans.XPropertySet

Gets/Sets references to a control model within the same document which should be used as a label.

Return type:

XPropertySet