from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.beans import XPropertySet
from com.sun.star.frame import XDesktopTask
from com.sun.star.frame import XFrame
from com.sun.star.frame import XFramesSupplier
from com.sun.star.frame import XWindowArranger

@runtime_checkable
class DesktopTask(XDesktopTask, XFrame, XPropertySet, XWindowArranger, XFramesSupplier, Protocol):
    Title: str
    IsDesktop: bool
    IsVisible: bool
    IsFloating: bool
    IsAlwaysVisible: bool
    Position: Point
    Size: Size
