from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.form import XDatabaseParameterBroadcaster
from com.sun.star.form import XLoadable
from com.sun.star.form import XReset
from com.sun.star.form.component import Form
from com.sun.star.sdb import RowSet
from com.sun.star.sdb import XCompletedExecution

@runtime_checkable
class DataForm(RowSet, Form, XReset, XLoadable, XCompletedExecution, XDatabaseParameterBroadcaster, Protocol):
    MasterFields: list[str]
    DetailFields: list[str]
    Cycle: TabulatorCycle
    NavigationBarMode: NavigationBarMode
    AllowInserts: bool
    AllowUpdates: bool
    AllowDeletes: bool
