ooodev.adapter.sheet.view_pane_partial module

class ooodev.adapter.sheet.view_pane_partial.ViewPanePartial(component, interface=com.sun.star.sheet.XViewPane)[source]

Bases: object

Partial Class for XViewPane.

New in version 0.20.0.

Parameters:
  • component (XViewPane) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.sheet.XViewPane)[source]

Constructor

Parameters:
  • component (XViewPane) – UNO Component that implements com.sun.star.sheet.XViewPane.

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

Return type:

None

get_first_visible_column()[source]

Gets the first column that is visible in the pane.

Return type:

int

get_first_visible_row()[source]

Gets the first row that is visible in the pane.

Return type:

int

get_visible_range()[source]

Gets the address of the cell range that consists of the cells which are visible in the pane.

Return type:

CellRangeAddress

set_first_visible_column(column)[source]

Sets the first column that is visible in the pane.

Return type:

None

Parameters:

column (int) –

set_first_visible_row(row)[source]

Sets the first row that is visible in the pane.

Return type:

None

Parameters:

row (int) –