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

@runtime_checkable
class Bibliography(TextFieldMaster, Protocol):
    IsNumberEntries: bool
    IsSortByPosition: bool
    BracketBefore: str
    BracketAfter: str
    SortKeys: list[PropertyValues]
    Locale: Locale
    SortAlgorithm: str
