ooodev.adapter.drawing.draw_view_partial module

class ooodev.adapter.drawing.draw_view_partial.DrawViewPartial(component, interface=com.sun.star.drawing.XDrawView)[source]

Bases: object

Partial class for XDrawView interface.

Parameters:
  • component (XDrawView) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.drawing.XDrawView)[source]

Constructor

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

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

Return type:

None

get_current_page()[source]

Gets the current page.

Return type:

XDrawPage

set_current_page(page)[source]

Sets the current page.

Return type:

None

Parameters:

page (XDrawPage) –