from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.uno import XInterface

@runtime_checkable
class XCell(XInterface, Protocol):
    def getFormula(self) -> str: ...
    def setFormula(self, aFormula: str) -> None: ...
    def getValue(self) -> float: ...
    def setValue(self, nValue: float) -> None: ...
    def getType(self) -> CellContentType: ...
    def getError(self) -> int: ...
