from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.beans import XPropertySet
from com.sun.star.text import XTextViewCursorSupplier
from com.sun.star.view import OfficeDocumentView
from com.sun.star.view import XViewSettingsSupplier

@runtime_checkable
class TextDocumentView(OfficeDocumentView, XViewSettingsSupplier, XTextViewCursorSupplier, XPropertySet, Protocol):
    PageCount: int
    LineCount: int
    IsConstantSpellcheck: bool
    IsHideSpellMarks: bool
