from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.beans import XPropertySet
from com.sun.star.document import HeaderFooterSettings
from com.sun.star.document import Settings

@runtime_checkable
class DocumentSettings(Settings, HeaderFooterSettings, XPropertySet, Protocol):
    MeasureUnit: int
    ScaleNumerator: int
    ScaleDenominator: int
    IsPrintFitPage: bool
    IsPrintTilePage: bool
    PageNumberFormat: int
    ParagraphSummation: bool
