ooodev.adapter.awt.animation_partial module

class ooodev.adapter.awt.animation_partial.AnimationPartial(component, interface=com.sun.star.awt.XAnimation)[source]

Bases: object

Partial class for XAnimation.

Parameters:
  • component (XAnimation) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.awt.XAnimation)[source]

Constructor

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

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

Return type:

None

is_animation_running()[source]

Gets whether the animation is currently running

Return type:

bool

start_animation()[source]

starts the animation

Return type:

None

stop_animation()[source]

Stops the animation

Return type:

None