Source code for ooodev.adapter.form.form_partial

from __future__ import annotations
from typing import TYPE_CHECKING

from import XForm
from ooodev.adapter.form.form_component_partial import FormComponentPartial

    from ooodev.utils.type_var import UnoInterface

[docs]class FormPartial(FormComponentPartial): """ Partial Class for XForm. This interface does not really provide an own functionality, it is only for easier runtime identification of form components. """
[docs] def __init__(self, component: XForm, interface: UnoInterface | None = XForm) -> None: """ Constructor Args: component (XForm): UNO Component that implements ````. interface (UnoInterface, optional): The interface to be validated. Defaults to ``XForm``. """ FormComponentPartial.__init__(self, component, interface)