from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.drawing import FillProperties
from com.sun.star.drawing import LineProperties
from com.sun.star.drawing import RotationDescriptor
from com.sun.star.drawing import ShadowProperties
from com.sun.star.drawing import Shape
from com.sun.star.drawing import Text

@runtime_checkable
class CaptionShape(Shape, FillProperties, LineProperties, ShadowProperties, Text, RotationDescriptor, Protocol):
    CornerRadius: int
    CaptionPoint: Point
    CaptionType: int
    CaptionIsFixedAngle: bool
    CaptionAngle: int
    CaptionGap: int
    CaptionEscapeDirection: int
    CaptionIsEscapeRelative: bool
    CaptionEscapeRelative: int
    CaptionEscapeAbsolute: int
    CaptionLineLength: int
    CaptionIsFitLineLength: bool
