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

@runtime_checkable
class Settings(XPropertySet, Protocol):
    ForbiddenCharacters: XForbiddenCharacters
    LinkUpdateMode: int
    PrinterName: str
    PrinterSetup: list[int]
    IsKernAsianPunctuation: bool
    CharacterCompressionType: int
    ApplyUserData: bool
    SaveVersionOnClose: bool
    UpdateFromTemplate: bool
    FieldAutoUpdate: bool
    CurrentDatabaseDataSource: str
    CurrentDatabaseCommand: str
    CurrentDatabaseCommandType: int
    DefaultTabStop: int
    IsPrintBooklet: bool
    IsPrintBookletFront: bool
    IsPrintBookletBack: bool
    PrintQuality: int
    ColorTableURL: str
    DashTableURL: str
    LineEndTableURL: str
    HatchTableURL: str
    GradientTableURL: str
    BitmapTableURL: str
    AutoCalculate: bool
    PrinterIndependentLayout: int
    AddExternalLeading: bool
    EmbedFonts: bool
    EmbedSystemFonts: bool
    EmbedOnlyUsedFonts: bool
    EmbedLatinScriptFonts: bool
    EmbedAsianScriptFonts: bool
    EmbedComplexScriptFonts: bool
