Source code for ooodev.adapter.presentation.draw_page_comp

from __future__ import annotations
from typing import cast, Any, TYPE_CHECKING
from ooodev.adapter.drawing.draw_page_comp import DrawPageComp as DrawingDrawPageComp

    from import DrawPage  # service

[docs]class DrawPageComp(DrawingDrawPageComp): """ Class for managing table DrawPage Component. """ # pylint: disable=unused-argument
[docs] def __init__(self, component: Any) -> None: """ Constructor Args: component (Any): UNO component that supports ```` service. """ DrawingDrawPageComp.__init__(self, component)
# region Overrides def _ComponentBase__get_supported_service_names(self) -> tuple[str, ...]: """Returns a tuple of supported service names.""" return ("",) # endregion Overrides # region Properties if TYPE_CHECKING: @property def component(self) -> DrawPage: """DrawPage Component""" return cast("DrawPage", self._ComponentBase__get_component()) # type: ignore
# endregion Properties