ooodev.format.inner.partial.calc.alignment.text_orientation_partial module
- class ooodev.format.inner.partial.calc.alignment.text_orientation_partial.TextOrientationPartial(factory_name, component, lo_inst=None)[source]
Bases:
object
Partial class for Alignment Text Orientation.
- Parameters:
factory_name (str) –
component (Any) –
lo_inst (LoInst | None) –
- __init__(factory_name, component, lo_inst=None)[source]
- Parameters:
factory_name (str) –
component (Any) –
lo_inst (LoInst | None) –
- Return type:
None
- style_align_orientation(vert_stack=None, rotation=None, edge=None)[source]
Style Text Orientation.
- Parameters:
- Raises:
CancelEventError – If the event
before_style_align_orientation
is cancelled and not handled.- Returns:
Text Alignment instance or
None
if cancelled.- Return type:
TextOrientationT | None
Hint
EdgeKind
can be imported fromooodev.format.inner.direct.calc.alignment.text_orientation
- style_align_orientation_get()[source]
Gets the Alignment Text Orientation Style.
- Raises:
CancelEventError – If the event
before_style_align_orientation_get
is cancelled and not handled.- Returns:
Text Alignment style or
None
if cancelled.- Return type:
TextOrientationT | None