from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.style import CharacterProperties
from com.sun.star.style import CharacterPropertiesAsian
from com.sun.star.style import CharacterPropertiesComplex
from com.sun.star.style import ParagraphProperties
from com.sun.star.style import ParagraphPropertiesAsian
from com.sun.star.style import ParagraphPropertiesComplex

@runtime_checkable
class TextProperties(CharacterProperties, CharacterPropertiesAsian, CharacterPropertiesComplex, ParagraphProperties, ParagraphPropertiesAsian, ParagraphPropertiesComplex, Protocol):
    IsNumbering: bool
    NumberingRules: XIndexReplace
    TextAutoGrowHeight: bool
    TextAutoGrowWidth: bool
    TextContourFrame: bool
    TextFitToSize: TextFitToSizeType
    TextHorizontalAdjust: TextHorizontalAdjust
    TextVerticalAdjust: TextVerticalAdjust
    TextLeftDistance: int
    TextRightDistance: int
    TextUpperDistance: int
    TextLowerDistance: int
    TextMaximumFrameHeight: int
    TextMaximumFrameWidth: int
    TextMinimumFrameHeight: int
    TextMinimumFrameWidth: int
    TextAnimationAmount: int
    TextAnimationCount: int
    TextAnimationDelay: int
    TextAnimationDirection: TextAnimationDirection
    TextAnimationKind: TextAnimationKind
    TextAnimationStartInside: bool
    TextAnimationStopInside: bool
