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 XHierarchiesSupplier
from com.sun.star.util import XCloneable

@runtime_checkable
class DataPilotSourceDimension(XNamed, XHierarchiesSupplier, XCloneable, XPropertySet, Protocol):
    Original: XNamed
    IsDataLayoutDimension: bool
    Orientation: DataPilotFieldOrientation
    Position: int
    Function: GeneralFunction
    UsedHierarchy: int
    Filter: list[TableFilterField]
    Flags: int
    Function2: int
