ooodev.adapter.view.screen_cursor_partial module

class ooodev.adapter.view.screen_cursor_partial.ScreenCursorPartial(component, interface=com.sun.star.view.XScreenCursor)[source]

Bases: object

Partial class for XSentenceCursor.

Parameters:
  • component (XScreenCursor) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.view.XScreenCursor)[source]

Constructor

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

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

Return type:

None

screen_down()[source]

Scrolls the view forward by one visible page.

Return type:

None

screen_up()[source]

Scrolls the view backward by one visible page.

Return type:

None