ooodev.adapter.drawing.shape_collection_comp module
- class ooodev.adapter.drawing.shape_collection_comp.ShapeCollectionComp(component)[source]
Bases:
ComponentBase
,ShapesPartial
Class for managing ShapeCollection Component.
New in version 0.20.5.
- __init__(component)[source]
Constructor
- Parameters:
component (Any) – UNO component that implements
com.sun.star.drawing.ShapeCollection
service.- Return type:
None
- select_all(obj)[source]
Selects all shapes in the collection.
- Parameters:
obj (Any) – The object to select shapes from. Can be
XController
orXModel
orDrawDoc
,ImpressDoc
( or any object that implementsGuiPartial
)- Return type:
None
- property component: com.sun.star.drawing.ShapeCollection
ShapeCollection Component
- Return type:
ShapeCollection