from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.drawing import Shape

@runtime_checkable
class Shape(Shape, Protocol):
    AnchorPageNo: int
    AnchorFrame: XTextFrame
    AnchorType: TextContentAnchorType
    HoriOrient: int
    HoriOrientPosition: int
    HoriOrientRelation: int
    VertOrient: int
    VertOrientPosition: int
    VertOrientRelation: int
    LeftMargin: int
    RightMargin: int
    TopMargin: int
    BottomMargin: int
    Surround: WrapTextMode
    SurroundAnchorOnly: bool
    SurroundContour: bool
    ContourOutside: bool
    Opaque: bool
    TextRange: XTextRange
    WrapInfluenceOnPosition: int
    TransformationInHoriL2R: HomogenMatrix3
    PositionLayoutDir: int
    StartPositionInHoriL2R: Point
    EndPositionInHoriL2R: Point
    AllowOverlap: bool
