from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.beans import XPropertySet
from com.sun.star.container import XNamed
from com.sun.star.sheet import XCellRangeReferrer
from com.sun.star.sheet import XDatabaseRange
from com.sun.star.util import XRefreshable

@runtime_checkable
class DatabaseRange(XDatabaseRange, XCellRangeReferrer, XPropertySet, XNamed, XRefreshable, Protocol):
    MoveCells: bool
    KeepFormats: bool
    StripData: bool
    AutoFilter: bool
    UseFilterCriteriaSource: bool
    FilterCriteriaSource: CellRangeAddress
    RefreshPeriod: int
    FromSelection: bool
    TokenIndex: int
    TotalsRow: bool
    ContainsHeader: bool
