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

@runtime_checkable
class CellProperties(UserDefinedAttributesSupplier, XPropertySet, Protocol):
    CellName: str
    BackColor: Color
    BackGraphicURL: str
    BackGraphicFilter: str
    BackGraphicLocation: GraphicLocation
    NumberFormat: int
    BackTransparent: bool
    LeftBorder: BorderLine
    RightBorder: BorderLine
    TopBorder: BorderLine
    BottomBorder: BorderLine
    LeftBorderDistance: int
    RightBorderDistance: int
    TopBorderDistance: int
    BottomBorderDistance: int
    TextSection: XTextSection
    IsProtected: bool
    VertOrient: int
    BackGraphic: XGraphic
    ParentText: XText
    HasTextChangesOnly: bool
