ooodev.format.writer.style.page.page module

class ooodev.format.writer.style.page.page.Page(name='')[source]

Bases: StyleName

Page Style.

New in version 0.9.0.

__init__(name='')[source]

Constructor

Parameters:

name (StyleParaKind, str, optional) – Specifies the Page Style that instance applies to.

Return type:

None

copy()[source]
copy(**kwargs)
copy(**kwargs)

Gets a copy of instance as a new instance

Return type:

Page

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

Gets instance from object

Parameters:

obj (Any) – UNO object.

Raises:

NotSupportedError – If obj is not supported.

Returns:

Page instance that represents obj style.

Return type:

Page

on_property_setting(source, event_args)[source]

Triggers for each property that is set

Parameters:
  • event_args (KeyValueCancelArgs) – Event Args

  • source (Any) –

default = <ooodev.format.writer.style.page.page.Page object>[source]
property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind