Class FormControlFactory
- class ooodev.form.controls.from_control_factory.FormControlFactory(draw_page, lo_inst=None)[source]
Bases:
LoInstPropsPartial
- Parameters:
draw_page (XDrawPage) –
lo_inst (LoInst | None) –
- __init__(draw_page, lo_inst=None)[source]
Constructor.
- Parameters:
lo_inst (LoInst, optional) – Lo instance.
draw_page (XDrawPage) –
- Return type:
None
- find_shape_for_control(ctl_model)[source]
Find the shape for a control.
- Parameters:
ctl_model (XControlModel) – control to find shape for.
- Returns:
Shape for the control or
None
if not found.- Return type:
XControlShape | None