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

@runtime_checkable
class UserIndex(BaseIndex, Protocol):
    LevelParagraphStyles: XIndexReplace
    CreateFromMarks: bool
    UseLevelFromSource: bool
    CreateFromTables: bool
    CreateFromTextFrames: bool
    CreateFromGraphicObjects: bool
    CreateFromEmbeddedObjects: bool
    UserIndexName: str
