ooodev.format.inner.direct.chart2.axis.label.orientation module

class ooodev.format.inner.direct.chart2.axis.label.orientation.Orientation(angle=None, mode=None, vertical=None)[source]

Bases: StyleBase

Chart Axis Text orientation.

New in version 0.9.4.

__init__(angle=None, mode=None, vertical=None)[source]

Constructor

Parameters:
  • angle (int, Angle, optional) – Rotation in degrees of the text.

  • mode (DirectionModeKind, optional) – Specifies the writing direction.

  • vertical (bool, optional) – Specifies if the text is vertically stacked.

Return type:

None

Note

When vertical is True the angle is ignored.

property prop_angle: Angle | None

Gets/Sets the rotation of the text.

Return type:

Angle | None

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

property prop_mode: DirectionModeKind | None

Gets/Sets writing mode.

Return type:

DirectionModeKind | None

property prop_vertical: bool | None

Gets/Sets if the text is vertically stacked.

Return type:

bool | None