ooodev.format.draw.direct.para.alignment package
Submodules
Module contents
- class ooodev.format.draw.direct.para.alignment.Alignment(*, align=None, align_last=None, expand_single_word=None)[source]
Bases:
Alignment
Shape Paragraph Alignment
Any properties starting with
prop_
set or get current instance values.All methods starting with
fmt_
can be used to chain together properties.New in version 0.17.8.
- __init__(*, align=None, align_last=None, expand_single_word=None)[source]
Constructor
- Parameters:
align (ParagraphAdjust, optional) – Determines horizontal alignment of a paragraph.
align_last (LastLineKind, optional) – Determines the adjustment of the last line.
expand_single_word (bool, optional) – Determines if single words are stretched. It is only valid if
align
andalign_last
are also valid.
- Return type:
None