/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: XAnimationNode.idl,v $ * $Revision: 1.4 $ * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 3 * only, as published by the Free Software Foundation. * * OpenOffice.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ #ifndef __com_sun_star_animations_XAnimationNode_idl__ #define __com_sun_star_animations_XAnimationNode_idl__ #ifndef __com_sun_star_container_XChild_idl__ #include #endif #ifndef __com_sun_star_beans_NamedValue_idl__ #include #endif //============================================================================= module com { module sun { module star { module animations { //============================================================================= /** */ interface XAnimationNode : ::com::sun::star::container::XChild { /** a value from AnimationNodeType. @see http://www.w3.org/TR/smil20/smil-timing.html#adef-timeContainer */ [readonly, attribute] short Type; /** a sequnece of values that define the begining of this element
Begin is
  • double describes the element begin as an offset in seconds from an implicit syncbase. The definition of the implicit syncbase depends upon the element's parent time container. The offset is measured in parent simple time.
  • Event describes an event and an optional offset that determine the element begin. The element begin is defined relative to the time that the event is raised.
  • Timing::INDEFINITE the begin of the element will be determined by an external event to the element.
  • sequence<any> a sequence of values described above if more than one begin value is defined for this element.
  • if no begin behaviour is defined for this element.
@see http://www.w3.org/TR/smil20/smil-timing.html#adef-begin */ [attribute] any Begin; /** defines the length of the simple duration.
Duration is
  • double specifies the length of the simple duration in seconds.
  • Timing::INDEFINITE specifies the simple duration as indefinite.
  • Timing::MEDIA specifies the simple duration as the intrinsic media duration. This is only valid for elements that define media.
  • the simple duration for the element is defined to be the implicit duration of the element.
@see http://www.w3.org/TR/smil20/smil-timing.html#adef-dur */ [attribute] any Duration; /** a sequnece of values that define the ending of this element
End is
  • double describes the element end as an offset in seconds from an implicit syncbase. The definition of the implicit syncbase depends upon the element's parent time container. The offset is measured in parent simple time.
  • Event describes an event and an optional offset that determine the element end. The element end is defined relative to the time that the event is raised.
  • Timing::INDEFINITE the end of the element will be determined by an external event to the element.
  • sequence<any> a sequence of values described above if more than one begin value is defined for this element.
  • if no end behaviour is defined for this element.
@see http://www.w3.org/TR/smil20/smil-timing.html#adef-end */ [attribute] any End; /** controls the implicit duration of time containers, as a function of the children.
The endsync attribute is only valid for par and excl time container elements, and media elements with timed children (e.g. animate or area elements). EndSync is eiter a short constant from EndSync, an interface reference to a child XTimeContainer or . @see http://www.w3.org/TR/smil20/smil-timing.html#adef-endsync */ [attribute] any EndSync; /** the number of iterations of the simple duration.
RepeatCount is
  • double this is a numeric value that specifies the number of iterations. It can include partial iterations expressed as fraction values. A fractional value describes a portion of the simple duration. Values must be greater than 0.
  • Timing::INDEFINITE the element is defined to repeat indefinitely (subject to the constraints of the parent time container).
  • no repeat count is defined for this element.
@see EndSync @see http://www.w3.org/TR/smil20/smil-timing.html#adef-repeatCount */ [attribute] any RepeatCount; /** the total duration for repeat.
RepeatDuration is
  • double specifies the duration in element active time to repeat the simple duration in seconds.
  • Timing::INDEFINITE the element is defined to repeat indefinitely (subject to the constraints of the parent time container).
  • No repeat duration is defined for this element.
@see http://www.w3.org/TR/smil20/smil-timing.html#adef-repeatDur */ [attribute] any RepeatDuration; /** the attribute that specify the behaviour how an element should be extended beyond the active duration by freezing the final state of the element.
Fill is a value from AnimationFill. @see Fill @see http://www.w3.org/TR/smil20/smil-timing.html#adef-fill */ [attribute] short Fill; /** the default value for the fill behavior for this element and all descendents.
FillDefault is
  • The values AnimationFill::REMOVE, AnimationFill::FREEZE, AnimationFill::HOLD, AnimationFill::TRANSITION and AnimationFill::AUTO specify that the element fill behavior is the respective value.
  • The value AnimationFill::INHERIT specifies that the value of this attribute (and of the fill behavior) are inherited from the FillDefault value of the parent element. If there is no parent element, the value is AnimationFill::AUTO.
@see Fill @see http://www.w3.org/TR/smil20/smil-timing.html#adef-fillDefault */ [attribute] short FillDefault; /** defines the restart behaviour of this element.
Restart is a short value from AnimationRestart. @see AnimationRestart @see http://www.w3.org/TR/smil20/smil-timing.html#adef-restart */ [attribute] short Restart; /** defines the default restart behaviour for this element and all descendents. @returns a value from Restart. @see AnimationRestart @see http://www.w3.org/TR/smil20/smil-timing.html#adef-restartDefault */ [attribute] short RestartDefault; /** defines the acceleration for this element.
Element time will accelerate from a rate of 0 at the beginning up to a run rate, over the course of the specified proportion of the simple duration. Acceleration is a value between 0 (no acceleration) and 1 (acceleration until end of the elements duration). @see http://www.w3.org/TR/smil20/smil-timemanip.html#adef-accelerate */ [attribute] double Acceleration; /** defines the deceleration for this element. Element time will deceleration from a run rate to a rate of 0 at the ending, over the course of the specified proportion of the simple duration. Decelerate is a value between 0 (no deceleration) and 1 (deceleration from beginning of the elements duration). @see http://www.w3.org/TR/smil20/smil-timemanip.html#adef-decelerate */ [attribute] double Decelerate; /** defines the auto reverse settings for this element. AutoRevers is
  • if the animation is played normal.
  • if the animation is played forwards and then backwards. This doubles the duration
@see http://www.w3.org/TR/smil20/smil-timemanip.html#adef-autoReverse */ [attribute] boolean AutoReverse; /** */ [attribute] sequence< ::com::sun::star::beans::NamedValue > UserData; }; //============================================================================= }; }; }; }; #endif