Class GraphicStyleKind
- class ooodev.utils.kind.graphic_style_kind.GraphicStyleKind(value)[source]
Graphic Styles
- static from_str(s)[source]
Gets an
GraphicStyleKind
instance from string.- Parameters:
s (str) – String that represents the name of an enum Name.
s
is case insensitive and can beCamelCase
,pascal_case
,snake_case
,hyphen-case
,normal case
.- Raises:
ValueError – If input string is empty.
AttributeError – If unable to get
GraphicStyleKind
instance.
- Returns:
Enum instance.
- Return type:
- A4 = 'A4'
- ARROW_DASHED = 'Arrow Dashed'
- ARROW_LINE = 'Arrow Line'
- FILLED = 'Filled'
- FILLED_BLUE = 'Filled Blue'
- FILLED_GREEN = 'Filled Green'
- FILLED_RED = 'Filled Red'
- FILLED_YELLOW = 'Filled Yellow'
- GRAPHIC = 'Graphic'
- HEADING_A0 = 'Heading A0'
- HEADING_A4 = 'Heading A4'
- LINES = 'Lines'
- OBJECT_WITHOUT_FILL = 'objectwithoutfill'
- OBJECT_WITH_NO_FILL_AND_NO_LINE = 'Object with no fill and no line'
- OUTLINED = 'Outlined'
- OUTLINED_BLUE = 'Outlined Blue'
- OUTLINED_GREEN = 'Outlined Green'
- OUTLINED_RED = 'Outlined Red'
- OUTLINED_YELLOW = 'Outlined Yellow'
- SHAPES = 'Shapes'
- STANDARD = 'standard'
The style Default (standard) is used for newly inserted filled rectangles, filled ellipses, lines, connectors, text boxes, and 3D objects.
- TEXT = 'Text'
- TEXT_A0 = 'Text A0'
- TEXT_A4 = 'Text A4'
- TITLE_A0 = 'Title A0'
- TITLE_A4 = 'Title A4'