from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.xml import UserDefinedAttributesSupplier

@runtime_checkable
class BaseFrameProperties(UserDefinedAttributesSupplier, Protocol):
    AnchorPageNo: int
    AnchorFrame: XTextFrame
    BackColor: Color
    BackGraphicURL: str
    BackGraphicFilter: str
    BackGraphicLocation: GraphicLocation
    LeftBorder: BorderLine
    RightBorder: BorderLine
    TopBorder: BorderLine
    BottomBorder: BorderLine
    BorderDistance: int
    LeftBorderDistance: int
    RightBorderDistance: int
    TopBorderDistance: int
    BottomBorderDistance: int
    BackTransparent: bool
    ContentProtected: bool
    LeftMargin: int
    RightMargin: int
    TopMargin: int
    BottomMargin: int
    Height: int
    Width: int
    RelativeHeight: int
    RelativeWidth: int
    IsSyncWidthToHeight: bool
    IsSyncHeightToWidth: bool
    HoriOrient: int
    HoriOrientPosition: int
    HoriOrientRelation: int
    VertOrient: int
    VertOrientPosition: int
    VertOrientRelation: int
    HyperLinkURL: str
    HyperLinkTarget: str
    HyperLinkName: str
    Opaque: bool
    PageToggle: bool
    PositionProtected: bool
    Print: bool
    ShadowFormat: ShadowFormat
    ServerMap: bool
    Size: Size
    SizeProtected: bool
    Surround: WrapTextMode
    SurroundAnchorOnly: bool
    WrapInfluenceOnPosition: int
    LayoutSize: Size
    Title: str
    Description: str
    FillStyle: FillStyle
    FillGradient: Gradient
    FillGradientName: str
    ShadowTransparence: int
    FrameInteropGrabBag: list[PropertyValue]
    RelativeHeightRelation: int
    RelativeWidthRelation: int
    BackGraphic: XGraphic
    AllowOverlap: bool
    Tooltip: str
    Decorative: bool
    IsSplitAllowed: bool
    WrapTextAtFlyStart: bool
