1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef __com_sun_star_rendering_AnimationRepeat_idl__ 24#define __com_sun_star_rendering_AnimationRepeat_idl__ 25 26module com { module sun { module star { module rendering { 27 28/** This are the possible repeat modes for animations.<p> 29 30 These constants determine how the [0,1] parameter range of the 31 animation is driven through, thus defining the possible repeat 32 modes.<p> 33 34 @since OpenOffice 2.0 35 */ 36constants AnimationRepeat 37{ 38 /** The [0,1] parameter range is sweeped through exactly once.<p> 39 40 The [0,1] parameter range is sweeped through exactly once, 41 starting with 0 and ending with 1.<p> 42 */ 43 const byte ONE_SHOT=0; 44 45 //------------------------------------------------------------------------- 46 47 /** The [0,1] parameter range is sweeped through exactly twice.<p> 48 49 The [0,1] parameter range is sweeped through exactly twice, 50 starting with 0, going to 1, and going back to 0. When 51 plotting the value over time, this yields a triangle curve.<p> 52 */ 53 const byte ONE_SHOT_PINGPONG=1; 54 55 //------------------------------------------------------------------------- 56 57 /** The [0,1] parameter range is sweeped through infinitely.<p> 58 59 The [0,1] parameter range is sweeped through infinitely, 60 starting with 0, going to 1, and going back to 0, and then 61 starting again. When plotting the value over time, this yields 62 a repeated triangle curve.<p> 63 */ 64 const byte PINGPONG=2; 65 66 //------------------------------------------------------------------------- 67 68 /** The [0,1] parameter range is sweeped through infinitely.<p> 69 70 The [0,1] parameter range is sweeped through infinitely, 71 starting with 0, going to 1, and starting with 0 again. When 72 plotting the value over time, this yields a repeated saw-tooth 73 curve.<p> 74 */ 75 const byte REPEAT=3; 76}; 77 78}; }; }; }; 79 80#endif 81