ooodev.format.inner.direct.calc.alignment.text_orientation module
- class ooodev.format.inner.direct.calc.alignment.text_orientation.EdgeKind(value)[source]
Bases:
Enum
Reference Edge Kind
- INSIDE = 0
Text Extension Inside Cell.
- LOWER = 3
Text Extension From Lower Cell Border (default).
- UPPER = 1
Text Extension From Upper Cell Border.
- class ooodev.format.inner.direct.calc.alignment.text_orientation.TextOrientation(vert_stack=None, rotation=None, edge=None)[source]
Bases:
StyleBase
Text Rotation
See also
New in version 0.9.0.
- __init__(vert_stack=None, rotation=None, edge=None)[source]
Constructor
- Parameters:
- Return type:
None
Note
When
vert_stack
isTrue
other parameters are not used.See also
- 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 text orientation options.
- Return type:
- property prop_format_kind: FormatKind
Gets the kind of style
- Return type:
- property prop_vert_stacked: bool | None
Gets/Sets vertically stacked.
- Return type:
bool | None