ooodev.format.inner.direct.calc.page.page.layout_settings module

Module for Fill Transparency.

New in version 0.9.0.

class ooodev.format.inner.direct.calc.page.page.layout_settings.LayoutSettings(*, layout=None, numbers=None, align_hori=None, align_vert=None)[source]

Bases: StyleBase

Page Layout Setting Style

New in version 0.9.0.

__init__(*, layout=None, numbers=None, align_hori=None, align_vert=None)[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, optional) – Specifies if table is aligned horizontally.

  • align_vert (bool, optional) – Specifies if table is aligned vertically.

Return type:

None

classmethod from_obj(obj)[source]
classmethod from_obj(obj, **kwargs)
classmethod from_obj(obj, **kwargs)

Gets instance from object

Parameters:

obj (object) – UNO object.

Returns:

Instance that represents object margins.

Return type:

Margins

property prop_align_hori: bool | None

Gets/Sets Table align horizontally

Return type:

bool | None

property prop_align_vert: bool | None

Gets/Sets Table align Vertically

Return type:

bool | None

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

property prop_layout: PageStyleLayout | None

Gets/Sets Page Style Layout value

Return type:

PageStyleLayout | None

property prop_numbers: NumberingTypeEnum | None

Gets/Sets Page Numbering value

Return type:

NumberingTypeEnum | None