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

@runtime_checkable
class TextFrame(BaseFrame, XTextFrame, Protocol):
    FrameHeightAbsolute: int
    FrameWidthAbsolute: int
    FrameWidthPercent: int
    FrameHeightPercent: int
    FrameIsAutomaticHeight: bool
    SizeType: int
    EditInReadonly: bool
    WidthType: int
    WritingMode: int
    IsFollowingTextFlow: bool
    TextVerticalAdjust: TextVerticalAdjust
    ParentText: XText
