from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.chart import XChartDataArray
from com.sun.star.container import XNamed
from com.sun.star.sheet import XCellRangeData
from com.sun.star.table import XAutoFormattable
from com.sun.star.table import XCellRange
from com.sun.star.text import TextContent
from com.sun.star.text import XTextTable
from com.sun.star.util import XSortable
from com.sun.star.xml import UserDefinedAttributesSupplier

@runtime_checkable
class TextTable(TextContent, UserDefinedAttributesSupplier, XTextTable, XNamed, XCellRange, XChartDataArray, XAutoFormattable, XSortable, XCellRangeData, Protocol):
    BreakType: BreakType
    LeftMargin: int
    RightMargin: int
    HoriOrient: int
    KeepTogether: bool
    Split: bool
    PageNumberOffset: int
    PageDescName: str
    RelativeWidth: int
    IsWidthRelative: bool
    RepeatHeadline: bool
    HeaderRowCount: int
    ShadowFormat: ShadowFormat
    TopMargin: int
    BottomMargin: int
    BackTransparent: bool
    Width: int
    ChartRowAsLabel: bool
    ChartColumnAsLabel: bool
    TableBorder: TableBorder
    TableColumnSeparators: list[TableColumnSeparator]
    TableColumnRelativeSum: int
    BackColor: Color
    BackGraphicURL: str
    BackGraphicFilter: str
    BackGraphicLocation: GraphicLocation
    CollapsingBorders: bool
    TableInteropGrabBag: list[PropertyValue]
    TableTemplateName: str
    BackGraphic: XGraphic
