ooodev.format.inner.direct.write.frame.wrap.settings module

class ooodev.format.inner.direct.write.frame.wrap.settings.Settings(mode=WrapTextMode.PARALLEL)[source]

Bases: StyleBase

Frame Vertical Alignment

New in version 0.9.0.

__init__(mode=WrapTextMode.PARALLEL)[source]

Constructor

Parameters:

mode (WrapTextMode) – Specifies Wrap mode. Default WrapTextMode.PARALLEL

Return type:

None

classmethod from_obj(obj)[source]
classmethod from_obj(obj, **kwargs)
classmethod from_obj(obj, **kwargs)

Gets instance from object

Parameters:

obj (object) – UNO Object.

Raises:

NotSupportedError – If obj is not supported.

Returns:

Instance that represents Frame Wrap Settings.

Return type:

Settings

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

property prop_mode: WrapTextMode

Gets/Sets Wrap mode value

Return type:

WrapTextMode