Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: animations ::

unpublished interface XAnimate
Base Interfaces
XAnimateXAnimationNode
   ┗ ::com::sun::star::container::XChild

XAnimationNode
(referenced interface's summary:)
Usage Restrictions
not published
Description
Interface for generic animation.
See also
http://www.w3.org/TR/smil20/animation.html#edef-animate

Attributes' Summary
Target This attribute specifies the target element to be animated.
See documentation of used animation engine for supported targets.  
SubItem This attribute specifies an optional subitem from the target element that should be animated.
A value of zero should always be the default and animate the complete target.
See documentation of used animation engine for supported subitems.  
AttributeName Specifies the target attribute.  
Values A sequence of one or more values, each of which must be a legal value for the specified attribute.  
KeyTimes  
ValueType  
CalcMode Specifies the interpolation mode for the animation.
If the target attribute does not support linear interpolation (e.g. for strings), or if the values attribute has only one value, the CalcMode attribute is ignored and discrete interpolation is used.  
Accumulate Controls whether or not the animation is cumulative.  
Additive Controls whether or not the animation is additive.  
From Specifies the starting value of the animation.
Must be a legal value for the specified attribute. Ignored if the Values attribute is specified.  
To Specifies the ending value of the animation.
Must be a legal value for the specified attribute. Ignored if the Values attribute is specified.  
By Specifies a relative offset value for the animation.
Must be a legal value of a domain for which addition to the attributeType domain is defined and which yields a value in the attributeType domain. Ignored if the values attribute is specified. Ignored if the Values attribute is specified.  
TimeFilter todo: timeFilter="0,0; 0.14,0.36; 0.43,0.73; 0.71,0.91; 1.0,1.0" ?  
Formula if this string is set, its contents will be parsed as a formula. All values are used as a parameter for this formula and the computet result will be used.  
Attributes' Details
Target
any Target;
Description
This attribute specifies the target element to be animated.
See documentation of used animation engine for supported targets.
SubItem
short SubItem;
Description
This attribute specifies an optional subitem from the target element that should be animated.
A value of zero should always be the default and animate the complete target.
See documentation of used animation engine for supported subitems.
AttributeName
string AttributeName;
Description
Specifies the target attribute.
See also
http://www.w3.org/TR/smil20/animation.html#adef-attributeName
Values
sequence< any > Values;
Description
A sequence of one or more values, each of which must be a legal value for the specified attribute.
See also
http://www.w3.org/TR/smil20/animation.html#adef-values
KeyTimes
sequence< double > KeyTimes;
ValueType
short ValueType;
See also
AnimationValueType
CalcMode
short CalcMode;
Description
Specifies the interpolation mode for the animation.
If the target attribute does not support linear interpolation (e.g. for strings), or if the values attribute has only one value, the CalcMode attribute is ignored and discrete interpolation is used.
See also
AnimationCalcMode;
Accumulate
boolean Accumulate;
Description
Controls whether or not the animation is cumulative.
See also
http://www.w3.org/TR/smil20/animation.html#adef-accumulate
Additive
short Additive;
Description
Controls whether or not the animation is additive.
See also
AnimationAdditiveMode, http://www.w3.org/TR/smil20/animation.html#adef-additive
From
any From;
Description
Specifies the starting value of the animation.
Must be a legal value for the specified attribute. Ignored if the Values attribute is specified.
See also
http://www.w3.org/TR/smil20/animation.html#adef-from
To
any To;
Description
Specifies the ending value of the animation.
Must be a legal value for the specified attribute. Ignored if the Values attribute is specified.
See also
http://www.w3.org/TR/smil20/animation.html#adef-to
By
any By;
Description
Specifies a relative offset value for the animation.
Must be a legal value of a domain for which addition to the attributeType domain is defined and which yields a value in the attributeType domain. Ignored if the values attribute is specified. Ignored if the Values attribute is specified.
See also
http://www.w3.org/TR/smil20/animation.html#adef-by
TimeFilter
sequence< TimeFilterPair > TimeFilter;
Description
todo: timeFilter="0,0; 0.14,0.36; 0.43,0.73; 0.71,0.91; 1.0,1.0" ?
Formula
string Formula;
Description
if this string is set, its contents will be parsed as a formula. All values are used as a parameter for this formula and the computet result will be used.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.