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_animations_AnimationRestart_idl__ 24#define __com_sun_star_animations_AnimationRestart_idl__ 25 26//============================================================================= 27 28 module com { module sun { module star { module animations { 29 30//============================================================================= 31 32/** defines the restart behaviour 33 34 @see <member>XTiming::Restart</member> 35 @see <member>XTiming::RestartDefault</member> 36 @see http://www.w3.org/TR/smil20/smil-timing.html#adef-restart 37*/ 38constants AnimationRestart 39{ 40 /** The restart behavior for the element is determined by the value of the <member>XTiming::RestartDefault</member> attribute. 41 This is the default value for the <member>XTiming::Restart</member> attribute. 42 */ 43 const short DEFAULT = 0; 44 45 /** Specifies that the value of this attribute (and of the restart behavior) are 46 inherited from the <member>XTiming::RestartDefault</member> value of the parent element. 47 If there is no parent element, the value is <const>AnimationRestart::ALWAYS</const>. 48 This is the default value for the <member>XTiming::RestartDefault</member> attribute. 49 */ 50 const short INHERIT = 0; 51 52 /** The element can be restarted at any time. 53 */ 54 const short ALWAYS = 1; 55 56 /** The element can only be restarted when it is not active (i.e. it can be restarted after the active end). 57 Attempts to restart the element during its active duration are ignored. 58 */ 59 const short WHEN_NOT_ACTIVE = 2; 60 61 /** The element cannot be restarted for the remainder of the current simple 62 duration of the parent time container. 63 */ 64 const short NEVER = 3; 65}; 66 67//============================================================================= 68 69}; }; }; }; 70 71#endif 72