ooodev.adapter.drawing.shape_group_partial module

class ooodev.adapter.drawing.shape_group_partial.ShapeGroupPartial(component, interface=com.sun.star.drawing.XShapeGroup)[source]

Bases: ShapePartial

Partial class for XShapeGroup interface.

Parameters:
  • component (XShapeGroup) –

  • interface (UnoInterface | None) –

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

Constructor

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

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

Return type:

None

enter_group()[source]

Enters the group which enables the editing function for the parts of a grouped Shape. Then the parts can be edited instead of the group as a whole. This affects only the user interface. The behavior is not specified if this instance is not visible on any view. In this case it may or may not work.

Return type:

None

leave_group()[source]

leaves the group, which disables the editing function for the parts of a grouped Shape.

Then only the group as a whole can be edited.

This affects only the user interface. The behavior is not specified if this instance is not visible on any view. In this case it may or may not work.

Return type:

None