merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / rendering / AnimationRepeat.idl
blob8bde41c46b99d0c2330149825f2074a1b4190a41
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef __com_sun_star_rendering_AnimationRepeat_idl__
28 #define __com_sun_star_rendering_AnimationRepeat_idl__
30 module com { module sun { module star { module rendering {
32 /** This are the possible repeat modes for animations.<p>
34 These constants determine how the [0,1] parameter range of the
35 animation is driven through, thus defining the possible repeat
36 modes.<p>
38 @since OOo 2.0.0
40 constants AnimationRepeat
42 /** The [0,1] parameter range is sweeped through exactly once.<p>
44 The [0,1] parameter range is sweeped through exactly once,
45 starting with 0 and ending with 1.<p>
47 const byte ONE_SHOT=0;
49 //-------------------------------------------------------------------------
51 /** The [0,1] parameter range is sweeped through exactly twice.<p>
53 The [0,1] parameter range is sweeped through exactly twice,
54 starting with 0, going to 1, and going back to 0. When
55 plotting the value over time, this yields a triangle curve.<p>
57 const byte ONE_SHOT_PINGPONG=1;
59 //-------------------------------------------------------------------------
61 /** The [0,1] parameter range is sweeped through infinitely.<p>
63 The [0,1] parameter range is sweeped through infinitely,
64 starting with 0, going to 1, and going back to 0, and then
65 starting again. When plotting the value over time, this yields
66 a repeated triangle curve.<p>
68 const byte PINGPONG=2;
70 //-------------------------------------------------------------------------
72 /** The [0,1] parameter range is sweeped through infinitely.<p>
74 The [0,1] parameter range is sweeped through infinitely,
75 starting with 0, going to 1, and starting with 0 again. When
76 plotting the value over time, this yields a repeated saw-tooth
77 curve.<p>
79 const byte REPEAT=3;
82 }; }; }; };
84 #endif