ooodev.adapter.table.table_charts_partial module

class ooodev.adapter.table.table_charts_partial.TableChartsPartial(component, interface=com.sun.star.table.XTableCharts)[source]

Bases: NameAccessPartial

Partial Class for XTableCharts.

__init__(component, interface=com.sun.star.table.XTableCharts)[source]

Constructor

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

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

Return type:

None

add_new_by_name(name, rect, ranges, column_headers, row_headers)[source]

Creates a chart and adds it to the collection.

Return type:

None

Parameters:
  • name (str) –

  • rect (com.sun.star.awt.Rectangle) –

  • ranges (Tuple[CellRangeAddress, ...]) –

  • column_headers (bool) –

  • row_headers (bool) –

remove_by_name(name)[source]

Removes a chart from the collection.

Return type:

None

Parameters:

name (str) –