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

@runtime_checkable
class TableAutoFormatField(XPropertySet, Protocol):
    CharFontName: str
    CharFontNameAsian: str
    CharFontNameComplex: str
    CharFontStyleName: str
    CharFontStyleNameAsian: str
    CharFontStyleNameComplex: str
    CharFontCharSet: str
    CharFontCharSetAsian: str
    CharFontCharSetComplex: str
    CharFontFamily: str
    CharFontFamilyAsian: str
    CharFontFamilyComplex: str
    CharFontPitch: str
    CharFontPitchAsian: str
    CharFontPitchComplex: str
    CharHeight: float
    CharHeightAsian: float
    CharHeightComplex: float
    CharWeight: float
    CharWeightAsian: float
    CharWeightComplex: float
    CharPosture: FontSlant
    CharPostureAsian: FontSlant
    CharPostureComplex: FontSlant
    CharUnderline: int
    CharCrossedOut: bool
    CharContoured: bool
    CharShadowed: bool
    CharColor: Color
    CellBackColor: Color
    IsCellBackgroundTransparent: bool
    ShadowFormat: ShadowFormat
    HoriJustify: CellHoriJustify
    VertJustify: int
    IsTextWrapped: bool
    Orientation: CellOrientation
    RotateAngle: int
    RotateReference: int
    ParaTopMargin: int
    ParaBottomMargin: int
    ParaLeftMargin: int
    ParaRightMargin: int
    TableBorder: TableBorder
    TableBorder2: TableBorder2
