1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir#ifndef __com_sun_star_animations_XAnimate_idl__ 28*cdf0e10cSrcweir#define __com_sun_star_animations_XAnimate_idl__ 29*cdf0e10cSrcweir 30*cdf0e10cSrcweir#ifndef __com_sun_star_animations_XAnimationNode_idl__ 31*cdf0e10cSrcweir#include <com/sun/star/animations/XAnimationNode.idl> 32*cdf0e10cSrcweir#endif 33*cdf0e10cSrcweir 34*cdf0e10cSrcweir#ifndef __com_sun_star_animations_TimeFilterPair_idl__ 35*cdf0e10cSrcweir#include <com/sun/star/animations/TimeFilterPair.idl> 36*cdf0e10cSrcweir#endif 37*cdf0e10cSrcweir 38*cdf0e10cSrcweir//============================================================================= 39*cdf0e10cSrcweir 40*cdf0e10cSrcweir module com { module sun { module star { module animations { 41*cdf0e10cSrcweir 42*cdf0e10cSrcweir//============================================================================= 43*cdf0e10cSrcweir 44*cdf0e10cSrcweir/** Interface for generic animation. 45*cdf0e10cSrcweir 46*cdf0e10cSrcweir @see http://www.w3.org/TR/smil20/animation.html#edef-animate 47*cdf0e10cSrcweir*/ 48*cdf0e10cSrcweirinterface XAnimate : XAnimationNode 49*cdf0e10cSrcweir{ 50*cdf0e10cSrcweir /** This attribute specifies the target element to be animated. 51*cdf0e10cSrcweir <br> 52*cdf0e10cSrcweir See documentation of used animation engine for supported targets. 53*cdf0e10cSrcweir */ 54*cdf0e10cSrcweir [attribute] any Target; 55*cdf0e10cSrcweir 56*cdf0e10cSrcweir /** This attribute specifies an optional subitem from the target element 57*cdf0e10cSrcweir that should be animated. 58*cdf0e10cSrcweir <br> 59*cdf0e10cSrcweir A value of zero should always be the default and animate the complete target. 60*cdf0e10cSrcweir <br> 61*cdf0e10cSrcweir See documentation of used animation engine for supported subitems. 62*cdf0e10cSrcweir */ 63*cdf0e10cSrcweir [attribute] short SubItem; 64*cdf0e10cSrcweir 65*cdf0e10cSrcweir /** Specifies the target attribute. 66*cdf0e10cSrcweir 67*cdf0e10cSrcweir @see http://www.w3.org/TR/smil20/animation.html#adef-attributeName 68*cdf0e10cSrcweir */ 69*cdf0e10cSrcweir [attribute] string AttributeName; 70*cdf0e10cSrcweir 71*cdf0e10cSrcweir /** A sequence of one or more values, each of which must be a legal value for 72*cdf0e10cSrcweir the specified attribute. 73*cdf0e10cSrcweir 74*cdf0e10cSrcweir @see http://www.w3.org/TR/smil20/animation.html#adef-values 75*cdf0e10cSrcweir */ 76*cdf0e10cSrcweir [attribute] sequence< any > Values; 77*cdf0e10cSrcweir 78*cdf0e10cSrcweir /** 79*cdf0e10cSrcweir */ 80*cdf0e10cSrcweir [attribute] sequence< double > KeyTimes; 81*cdf0e10cSrcweir 82*cdf0e10cSrcweir /** 83*cdf0e10cSrcweir @see AnimationValueType 84*cdf0e10cSrcweir */ 85*cdf0e10cSrcweir [attribute] short ValueType; 86*cdf0e10cSrcweir 87*cdf0e10cSrcweir /** Specifies the interpolation mode for the animation. 88*cdf0e10cSrcweir <br> 89*cdf0e10cSrcweir If the target attribute does not support linear interpolation (e.g. for strings), 90*cdf0e10cSrcweir or if the values attribute has only one value, the CalcMode attribute is ignored 91*cdf0e10cSrcweir and discrete interpolation is used. 92*cdf0e10cSrcweir 93*cdf0e10cSrcweir @see AnimationCalcMode; 94*cdf0e10cSrcweir */ 95*cdf0e10cSrcweir [attribute] short CalcMode; 96*cdf0e10cSrcweir 97*cdf0e10cSrcweir /** Controls whether or not the animation is cumulative. 98*cdf0e10cSrcweir 99*cdf0e10cSrcweir @see http://www.w3.org/TR/smil20/animation.html#adef-accumulate 100*cdf0e10cSrcweir */ 101*cdf0e10cSrcweir [attribute] boolean Accumulate; 102*cdf0e10cSrcweir 103*cdf0e10cSrcweir /** Controls whether or not the animation is additive. 104*cdf0e10cSrcweir 105*cdf0e10cSrcweir @see AnimationAdditiveMode 106*cdf0e10cSrcweir @see http://www.w3.org/TR/smil20/animation.html#adef-additive 107*cdf0e10cSrcweir */ 108*cdf0e10cSrcweir [attribute] short Additive; 109*cdf0e10cSrcweir 110*cdf0e10cSrcweir /** Specifies the starting value of the animation. 111*cdf0e10cSrcweir <br> 112*cdf0e10cSrcweir Must be a legal value for the specified attribute. 113*cdf0e10cSrcweir Ignored if the <member>Values</member> attribute is specified. 114*cdf0e10cSrcweir 115*cdf0e10cSrcweir @see http://www.w3.org/TR/smil20/animation.html#adef-from 116*cdf0e10cSrcweir */ 117*cdf0e10cSrcweir [attribute] any From; 118*cdf0e10cSrcweir 119*cdf0e10cSrcweir /** Specifies the ending value of the animation. 120*cdf0e10cSrcweir <br> 121*cdf0e10cSrcweir Must be a legal value for the specified attribute. 122*cdf0e10cSrcweir Ignored if the <member>Values</member> attribute is specified. 123*cdf0e10cSrcweir 124*cdf0e10cSrcweir @see http://www.w3.org/TR/smil20/animation.html#adef-to 125*cdf0e10cSrcweir */ 126*cdf0e10cSrcweir [attribute] any To; 127*cdf0e10cSrcweir 128*cdf0e10cSrcweir /** Specifies a relative offset value for the animation. 129*cdf0e10cSrcweir <br> 130*cdf0e10cSrcweir Must be a legal value of a domain for which addition to the attributeType 131*cdf0e10cSrcweir domain is defined and which yields a value in the attributeType domain. 132*cdf0e10cSrcweir Ignored if the values attribute is specified. 133*cdf0e10cSrcweir Ignored if the <member>Values</member> attribute is specified. 134*cdf0e10cSrcweir 135*cdf0e10cSrcweir @see http://www.w3.org/TR/smil20/animation.html#adef-by 136*cdf0e10cSrcweir */ 137*cdf0e10cSrcweir [attribute] any By; 138*cdf0e10cSrcweir 139*cdf0e10cSrcweir /** todo: timeFilter="0,0; 0.14,0.36; 0.43,0.73; 0.71,0.91; 1.0,1.0" ? 140*cdf0e10cSrcweir */ 141*cdf0e10cSrcweir [attribute] sequence< TimeFilterPair > TimeFilter; 142*cdf0e10cSrcweir 143*cdf0e10cSrcweir /** if this string is set, its contents will be parsed as a formula. 144*cdf0e10cSrcweir All values are used as a parameter for this formula and the computet 145*cdf0e10cSrcweir result will be used. 146*cdf0e10cSrcweir */ 147*cdf0e10cSrcweir [attribute] string Formula; 148*cdf0e10cSrcweir}; 149*cdf0e10cSrcweir 150*cdf0e10cSrcweir//============================================================================= 151*cdf0e10cSrcweir 152*cdf0e10cSrcweir}; }; }; }; 153*cdf0e10cSrcweir 154*cdf0e10cSrcweir#endif 155*cdf0e10cSrcweir 156