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

@runtime_checkable
class GetReference(TextField, Protocol):
    CurrentPresentation: str
    ReferenceFieldSource: int
    SourceName: str
    ReferenceFieldPart: int
    SequenceNumber: int
    ReferenceFieldLanguage: str
    ReferenceFieldFlags: int
