ooodev.format.styler module

Module for managing the applying of styles.

New in version 0.9.0.

class ooodev.format.styler.Styler[source]

Bases: object

Style methods

New in version 0.9.0.

static apply(obj, *styles, **kwargs)[source]

Applies style to object

  • obj (Any) – UNO Object that styles are to be applied.

  • obj. (styles expandable list of styles object such as Font to apply to) –

  • kwargs (Any, optional) – Expandable list of key value pairs.

  • styles (StyleT) –

Return type: