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

@runtime_checkable
class DocumentSettings(Settings, PrintSettings, XPropertySet, Protocol):
    ChartAutoUpdate: bool
    AddParaTableSpacing: bool
    AddParaTableSpacingAtStart: bool
    AlignTabStopPosition: bool
    SaveGlobalDocumentLinks: bool
    IsLabelDocument: bool
    UseFormerLineSpacing: bool
    AddParaSpacingToTableCells: bool
    UseFormerObjectPositioning: bool
    ConsiderTextWrapOnObjPos: bool
    MathBaselineAlignment: bool
