ooodev.adapter.drawing.control_shape_partial module

class ooodev.adapter.drawing.control_shape_partial.ControlShapePartial(component, interface=com.sun.star.drawing.XControlShape)[source]

Bases: ShapePartial

Partial Class for XControlShape.

Parameters:
  • component (XControlShape) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.drawing.XControlShape)[source]

Constructor

Parameters:
  • component (XControlShape) – UNO Component that implements com.sun.star.drawing.XControlShape interface.

  • interface (UnoInterface, optional) – The interface to be validated. Defaults to XControlShape.

Return type:

None

get_control()[source]

returns the control model of this Shape.

Return type:

XControlModel

set_control(control)[source]

sets the control model for this Shape.

Return type:

None

Parameters:

control (com.sun.star.awt.XControlModel) –