from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.text import BaseIndex

@runtime_checkable
class DocumentIndex(BaseIndex, Protocol):
    UseAlphabeticalSeparators: bool
    UseKeyAsEntry: bool
    UseCombinedEntries: bool
    IsCaseSensitive: bool
    UsePP: bool
    UseDash: bool
    UseUpperCase: bool
    MainEntryCharacterStyleName: str
    DocumentIndexMarks: XDocumentIndexMark>
    Locale: Locale
    SortAlgorithm: str
