Class DrawingShapeKind

class ooodev.utils.kind.drawing_shape_kind.DrawingShapeKind(value)[source]

Values used with com.sun.star.drawing.*

static from_str(s)[source]

Gets an DrawingShapeKind instance from string.

Parameters:

s (str) – String that represents the name of an enum Name. s is case insensitive and can be CamelCase, pascal_case , snake_case, hyphen-case, normal case.

Raises:
  • ValueError – If input string is empty.

  • AttributeError – If unable to get DrawingShapeKind instance.

Returns:

Enum instance.

Return type:

DrawingShapeKind

APPLET_SHAPE = 'AppletShape'
CAPTION_SHAPE = 'CaptionShape'
CHART_LEGEND = 'ChartLegend'
CHART_TITLE = 'ChartTitle'
CLOSED_BEZIER_SHAPE = 'ClosedBezierShape'
CONNECTOR_SHAPE = 'ConnectorShape'
CONTROL_SHAPE = 'ControlShape'
CUSTOM_SHAPE = 'CustomShape'
ELLIPSE_SHAPE = 'EllipseShape'
GRAPHIC_OBJECT_SHAPE = 'GraphicObjectShape'
GROUP_SHAPE = 'GroupShape'
LINE_SHAPE = 'LineShape'
MEASURE_SHAPE = 'MeasureShape'
MEDIA_SHAPE = 'MediaShape'
OLE2_SHAPE = 'OLE2Shape'
OPEN_BEZIER_SHAPE = 'OpenBezierShape'
PAGE_SHAPE = 'PageShape'
PLUGIN_SHAPE = 'PluginShape'
POLY_LINE_SHAPE = 'PolyLineShape'
POLY_POLYGON_BEZIER_SHAPE = 'PolyPolygonBezierShape'
POLY_POLYGON_SHAPE = 'PolyPolygonShape'
RECTANGLE_SHAPE = 'RectangleShape'
TEXT_SHAPE = 'TextShape'