ooodev.adapter.drawing.shape_partial module
- class ooodev.adapter.drawing.shape_partial.ShapePartial(component, interface=com.sun.star.drawing.XShape)[source]
Bases:
objectPartial Class XShape.
- Parameters:
component (XShape) –
interface (UnoInterface | None) –
- __init__(component, interface=com.sun.star.drawing.XShape)[source]
Constructor
- Parameters:
component (XShape) – UNO Component that implements
com.sun.star.drawing.XShapeinterface.interface (UnoInterface, optional) – The interface to be validated. Defaults to
XShape.
- Return type:
None
- get_position()[source]
Gets the position of the shape in
100th mmunits.- Returns:
The position of the shape.
- Return type:
- get_size()[source]
Gets the size of the shape in
100th mmunits.- Returns:
The size of the shape.
- Return type: