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

@runtime_checkable
class TextContent(XTextContent, Protocol):
    AnchorType: TextContentAnchorType
    AnchorTypes: list[TextContentAnchorType]
    TextWrap: WrapTextMode
