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

@runtime_checkable
class PageNumber(TextField, Protocol):
    NumberingType: int
    Offset: int
    SubType: PageNumberType
    UserText: str
