LibreOffice
LibreOffice 7.4 SDK API Reference
Variables
com::sun::star::rendering::AnimationRepeat Constant Group Reference

This are the possible repeat modes for animations. More...

Variables

const byte ONE_SHOT =0
 The [0,1] parameter range is swept through exactly once. More...
 
const byte ONE_SHOT_PINGPONG =1
 The [0,1] parameter range is swept through exactly twice. More...
 
const byte PINGPONG =2
 The [0,1] parameter range is swept through infinitely. More...
 
const byte REPEAT =3
 The [0,1] parameter range is swept through infinitely. More...
 

Detailed Description

This are the possible repeat modes for animations.

These constants determine how the [0,1] parameter range of the animation is driven through, thus defining the possible repeat modes.

Since
OOo 2.0

Variable Documentation

◆ ONE_SHOT

const byte ONE_SHOT =0

The [0,1] parameter range is swept through exactly once.

The [0,1] parameter range is swept through exactly once, starting with 0 and ending with 1.

◆ ONE_SHOT_PINGPONG

const byte ONE_SHOT_PINGPONG =1

The [0,1] parameter range is swept through exactly twice.

The [0,1] parameter range is swept through exactly twice, starting with 0, going to 1, and going back to 0. When plotting the value over time, this yields a triangle curve.

◆ PINGPONG

const byte PINGPONG =2

The [0,1] parameter range is swept through infinitely.

The [0,1] parameter range is swept through infinitely, starting with 0, going to 1, and going back to 0, and then starting again. When plotting the value over time, this yields a repeated triangle curve.

◆ REPEAT

const byte REPEAT =3

The [0,1] parameter range is swept through infinitely.

The [0,1] parameter range is swept through infinitely, starting with 0, going to 1, and starting with 0 again. When plotting the value over time, this yields a repeated saw-tooth curve.