from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.beans import XPropertySet
from com.sun.star.util import XSearchDescriptor

@runtime_checkable
class SearchDescriptor(XSearchDescriptor, XPropertySet, Protocol):
    SearchBackwards: bool
    SearchCaseSensitive: bool
    SearchWords: bool
    SearchRegularExpression: bool
    SearchStyles: bool
    SearchSimilarity: bool
    SearchSimilarityRelax: bool
    SearchSimilarityRemove: int
    SearchSimilarityAdd: int
    SearchSimilarityExchange: int
    SearchWildcard: bool
    WildcardEscapeCharacter: int
