from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.text import TextPortion

@runtime_checkable
class RedlinePortion(TextPortion, Protocol):
    RedlineAuthor: str
    RedlineDateTime: DateTime
    RedlineComment: str
    RedlineType: str
    RedlineSuccessorData: PropertyValues
    RedlineIdentifier: str
    IsInHeaderFooter: bool
    RedlineText: XText
    MergeLastPara: bool
