from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.frame import XModel
from com.sun.star.frame import XStorable
from com.sun.star.util import XModifiable
from com.sun.star.view import XPrintJobBroadcaster
from com.sun.star.view import XPrintable

@runtime_checkable
class OfficeDocument(XModel, XModifiable, XStorable, XPrintable, XEventBroadcaster, XDocumentEventBroadcaster, XEventsSupplier, XViewDataSupplier, XPrintJobBroadcaster, XEmbeddedScripts, XDocumentPropertiesSupplier, XUndoManagerSupplier, Protocol):
    AutomaticControlFocus: bool
    ApplyFormDesignMode: bool
    RuntimeUID: str
    InteropGrabBag: list[PropertyValue]
