Class SearchByKind
- class ooodev.utils.kind.gallery_search_by_kind.SearchByKind(value)[source]
Gallery Search by Kind.
Used to determine search criteria.
See also
Gallery.find_gallery_item()- static from_str(s)[source]
Gets an
SearchByKindinstance from string.- Parameters:
s (str) – String that represents the name of an enum Name.
sis 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
SearchByKindinstance.
- Returns:
Enum instance.
- Return type:
- FILE_NAME = 1
Match File Name
- TITLE = 2
Match Title