Class GalleryKind
- class ooodev.utils.kind.gallery_kind.GalleryKind(value)[source]
Gallery Kind.
Used to encapsulate Gallery names.
Note
Not all gallery name are necessarily lister in this enum. Different system and version may have a some different values.
See also
Gallery.find_gallery_item()
- static from_str(s)[source]
Gets an
GalleryKind
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
GalleryKind
instance.
- Returns:
Enum instance.
- Return type:
- ARROWS = 'Arrows'
- BPMN = 'BPMN'
- BULLETS = 'Bullets'
- DIAGRAMS = 'Diagrams'
- FLOW_CHART = 'Flow chart'
- ICONS = 'Icons'
- NETWORK = 'Network'
- SHAPES = 'Shapes'
- SOUNDS = 'Sounds'