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

@runtime_checkable
class DocumentSettings(Settings, XPropertySet, Protocol):
    ShowZeroValues: bool
    ShowNotes: bool
    ShowGrid: bool
    GridColor: Color
    ShowPageBreaks: bool
    HasColumnRowHeaders: bool
    HasSheetTabs: bool
    IsOutlineSymbolsSet: bool
    IsSnapToRaster: bool
    RasterIsVisible: bool
    RasterResolutionX: int
    RasterResolutionY: int
    RasterSubdivisionX: int
    RasterSubdivisionY: int
    IsRasterAxisSynchronized: bool
    IsDocumentShared: bool
