ooodev.adapter.chart2.title_partial module

class ooodev.adapter.chart2.title_partial.TitlePartial(component, interface=com.sun.star.chart2.XTitle)[source]

Bases: object

Partial class for XTitle.

Parameters:
  • component (XTitle) –

  • interface (UnoInterface | None) –

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

Constructor

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

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

Return type:

None

get_text()[source]

Gets the text of the title.

Return type:

Tuple[XFormattedString, ...]

set_text(*strings)[source]

Sets the text of the title.

Return type:

None

Parameters:

strings (com.sun.star.chart2.XFormattedString) –