ooodev.adapter.table.table_chart_partial module

class ooodev.adapter.table.table_chart_partial.TableChartPartial(component, interface=com.sun.star.table.XTableChart)[source]

Bases: object

Partial Class for XTableChart.

Parameters:
  • component (XTableChart) –

  • interface (UnoInterface | None) –

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

Constructor

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

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

Return type:

None

get_has_column_headers()[source]

Returns, whether the cells of the topmost row of the source data are interpreted as column headers.

Return type:

bool

get_has_row_headers()[source]

Returns, whether the cells of the leftmost column of the source data are interpreted as row headers.

Return type:

bool

get_ranges()[source]

Returns the cell ranges that contain the data for the chart.

Return type:

Tuple[CellRangeAddress, ...]

set_has_column_headers(has_column_headers)[source]

Specifies whether the cells of the topmost row of the source data are interpreted as column headers.

Return type:

None

Parameters:

has_column_headers (bool) –

set_has_row_headers(has_row_headers)[source]

Specifies whether the cells of the leftmost column of the source data are interpreted as row headers.

Return type:

None

Parameters:

has_row_headers (bool) –

set_ranges(ranges)[source]

Sets the cell ranges that contain the data for the chart.

Return type:

None

Parameters:

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