ooodev.format.draw.direct.text.text.text_anchor module

class ooodev.format.draw.direct.text.text.text_anchor.TextAnchor(anchor_point=None, full_width=None)[source]

Bases: TextAnchor

This class represents the text spacing of an object that supports com.sun.star.drawing.TextProperties.

New in version 0.17.5.

__init__(anchor_point=None, full_width=None)[source]

Constructor.

Parameters:
  • anchor_point (ShapeBasePointKind, optional) – Anchor Point.

  • full_width (bool, optional) – Full Width. Defaults to None.

Return type:

None

Note

full_width applies when anchor_point is None or ShapeBasePointKind.TOP_CENTER or ShapeBasePointKind.CENTER or ShapeBasePointKind.BOTTOM_CENTER.