ooodev.format.inner.style_partial module

Partial class for managing the applying of styles.

New in version 0.17.9.

class ooodev.format.inner.style_partial.StylePartial(component)[source]

Bases: object

Style methods

New in version 0.17.9.

Parameters:

component (Any) –

__init__(component)[source]
Parameters:

component (Any) –

apply_styles(*styles: ooodev.proto.style_obj.StyleT)[source]
apply_styles(*styles: ooodev.proto.style_obj.StyleT, **kwargs)
apply_styles(*styles, **kwargs)

Applies style to component.

Parameters:
  • 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:

None