ooodev.format.proto.draw.position_size.protect_t module

protocol ooodev.format.proto.draw.position_size.protect_t.ProtectT[source]

Bases: StyleT, Protocol

Size Protocol

Classes that implement this protocol must have the following methods / attributes:

__init__(*, position=Ellipsis, size=Ellipsis)[source]

Constructor

Parameters:
  • position (bool, optional) – Specifies position protection.

  • size (bool, optional) – Specifies size protection.

Return type:

None

from_obj(obj: object) ProtectT
from_obj(obj: object, **kwargs) ProtectT
from_obj(**kwds)

Helper for @overload to raise when called.

__protocol_attrs__ = {'add_event_listener', 'add_event_observer', 'apply', 'backup', 'copy', 'from_obj', 'get_attrs', 'get_props', 'get_update_obj', 'has_update_obj', 'on_applied', 'on_applying', 'on_property_backed_up', 'on_property_backing_up', 'on_property_restore_set', 'on_property_restore_setting', 'on_property_set', 'on_property_set_error', 'prop_format_kind', 'prop_has_attribs', 'prop_has_backup', 'prop_parent', 'prop_position', 'prop_size', 'remove_event_listener', 'remove_event_observer', 'restore', 'set_update_obj', 'support_service', 'update'}
property prop_position: bool | None

Gets/Sets position

Return type:

bool | None

property prop_size: bool | None

Gets/Sets size

Return type:

bool | None