from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.text import TextField

@runtime_checkable
class ConditionalText(TextField, Protocol):
    TrueContent: str
    FalseContent: str
    Condition: str
    IsConditionTrue: bool
    CurrentPresentation: str
