ooodev.format.inner.modify.calc.page.page.layout_settings module
- class ooodev.format.inner.modify.calc.page.page.layout_settings.LayoutSettings(*, layout=None, numbers=None, align_hori=None, align_vert=None, style_name=CalcStylePageKind.DEFAULT, style_family='PageStyles')[source]
Bases:
CellStyleBaseMulti
Page Layout Setting style
See also
New in version 0.9.0.
- __init__(*, layout=None, numbers=None, align_hori=None, align_vert=None, style_name=CalcStylePageKind.DEFAULT, style_family='PageStyles')[source]
Constructor
- Parameters:
layout (PageStyleLayout, optional) – Specifies the layout of the page.
numbers (NumberingTypeEnum, optional) – Specifies the default numbering type for this page.
align_hori (bool | None) – bool | None = None,
align_vert (bool | None) – bool | None = None,
style_name (CalcStylePageKind, str, optional) – Specifies the Page Style that instance applies to. Default is Default Page Style.
style_family (str, optional) – Style family. Default
PageStyles
.
- Return type:
None
See also
- classmethod from_style(doc, style_name=CalcStylePageKind.DEFAULT, style_family='PageStyles')[source]
Gets instance from Document.
- Parameters:
doc (object) – UNO Document Object.
style_name (CalcStylePageKind, str, optional) – Specifies the Paragraph Style that instance applies to. Default is Default Paragraph Style.
style_family (str, optional) – Style family. Default
PageStyles
.
- Returns:
LayoutSettings
instance from document properties.- Return type:
- property prop_inner: LayoutSettings
Gets/Sets Inner Layout Settings instance
- Return type:
- property prop_style_name: str
Gets/Sets property Style Name
- Return type:
str