from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.beans import XPropertySet
from com.sun.star.text import TextContent
from com.sun.star.text import XTextField

@runtime_checkable
class TextField(TextContent, XTextField, XPropertySet, Protocol):
    IsFieldUsed: bool
    IsFieldDisplayed: bool
    Title: str
