from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.awt import UnoControlButtonModel
from com.sun.star.form import FormControlModel
from com.sun.star.form import XImageProducerSupplier

@runtime_checkable
class CommandButton(UnoControlButtonModel, FormControlModel, XImageProducerSupplier, Protocol):
    ButtonType: FormButtonType
    TargetFrame: str
    TargetURL: str
    DefaultState: bool
