ooodev.format.proto.chart2.title.alignment.direction_t module

protocol ooodev.format.proto.chart2.title.alignment.direction_t.DirectionT[source]

Bases: AbstractWritingModeT, Protocol

Writing Mode

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

__init__(mode=None)[source]

Constructor

Parameters:

mode (DirectionModeKind, optional) – Determines the writing direction.

Return type:

None

fmt_mode(value)[source]

Gets copy of instance with writing mode set or removed

Parameters:

value (DirectionModeKind | None) – mode value

Returns:

Direction instance.

Return type:

Direction

__protocol_attrs__ = {'add_event_listener', 'add_event_observer', 'apply', 'backup', 'copy', 'default', 'fmt_mode', 'from_obj', 'get_attrs', 'get_props', 'get_update_obj', 'has_update_obj', 'lr_tb', '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', 'page', 'prop_format_kind', 'prop_has_attribs', 'prop_has_backup', 'prop_mode', 'prop_parent', 'remove_event_listener', 'remove_event_observer', 'restore', 'rl_tb', 'set_update_obj', 'support_service', 'update'}
property lr_tb: DirectionT

Gets instance.

Text within lines is written left-to-right. Lines and blocks are placed top-to-bottom. Typically, this is the writing mode for normal alphabetic text.

Return type:

DirectionT

property page: DirectionT

Gets instance.

Use super-ordinate object settings.

Return type:

DirectionT

property rl_tb: DirectionT

Gets instance.

Text within a line are written right-to-left. Lines and blocks are placed top-to-bottom. Typically, this writing mode is used in Arabic and Hebrew text.

Return type:

DirectionT