ooodev.format.draw.direct.text.text package
Submodules
Module contents
- class ooodev.format.draw.direct.text.text.Spacing(left=None, right=None, top=None, bottom=None)[source]
Bases:
Spacing
This class represents the text spacing of an object that supports
com.sun.star.drawing.TextProperties
.See also
New in version 0.17.5.
- __init__(left=None, right=None, top=None, bottom=None)[source]
Constructor.
- Parameters:
left (float, UnitT, optional) – Left spacing in MM units or
UnitT
. Defaults to None.right (float, UnitT, optional) – Right spacing in MM units or
UnitT
. Defaults to None.top (float, UnitT, optional) – Top spacing in MM units or
UnitT
. Defaults to None.bottom (float, UnitT, optional) – Bottom spacing in MM units or
UnitT
. Defaults to None.
- Return type:
None
See also
- class ooodev.format.draw.direct.text.text.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
.See also
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 whenanchor_point
isNone
orShapeBasePointKind.TOP_CENTER
orShapeBasePointKind.CENTER
orShapeBasePointKind.BOTTOM_CENTER
.See also