Source code for ooodev.adapter.drawing.draw_page_partial

from __future__ import annotations
from typing import TYPE_CHECKING
import uno
from import XDrawPage

from ooodev.adapter.drawing.shapes_partial import ShapesPartial

    from ooodev.utils.type_var import UnoInterface

[docs]class DrawPagePartial(ShapesPartial): """Partial class for XDrawPage interface.""" # Does no implement any methods.
[docs] def __init__(self, component: XDrawPage, interface: UnoInterface | None = XDrawPage) -> None: """ Constructor Args: component (XDrawPage): UNO Component that implements ```` interface. interface (UnoInterface, optional): The interface to be validated. Defaults to ``XDrawPage``. """ ShapesPartial.__init__(self, component, interface)