ooodev.adapter.drawing.shape_descriptor_partial module

class ooodev.adapter.drawing.shape_descriptor_partial.ShapeDescriptorPartial(component, interface=com.sun.star.drawing.XShapeDescriptor)[source]

Bases: object

Class for managing IndexAccess.

Parameters:
  • component (XShapeDescriptor) –

  • interface (UnoInterface | None) –

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

Constructor

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

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

Return type:

None

get_shape_type()[source]

Gets the shape type.

Returns:

The programmatic name of the shape type.

Return type:

str