ooodev.adapter.chart2.titled_partial module

class ooodev.adapter.chart2.titled_partial.TitledPartial(component, interface=com.sun.star.chart2.XTitled)[source]

Bases: object

Partial class for XTitled.

Parameters:
  • component (XTitled) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.chart2.XTitled)[source]

Constructor

Parameters:
  • component (XTitled) – UNO Component that implements com.sun.star.chart2.XTitled interface.

  • interface (UnoInterface, optional) – The interface to be validated. Defaults to XTitled.

Return type:

None

get_title_object()[source]

get the object holding the title’s content and formatting

Return type:

XTitle

set_title_object(title)[source]

set a new title object replacing the former one

Return type:

None

Parameters:

title (com.sun.star.chart2.XTitle) –