[Table of Contents] [docx version]

PresentationML Reference Material - Table of Contents

anim (Animate)

This element is a generic animation element that requires little or no semantic understanding of the attribute being animated.  It can animate text within a shape or even the shape itself.

[Example: Consider trying to emphasize text within a shape by changing the size of its font by 150%. The <anim> element should be used as follows:

<p:anim to="1.5" calcmode="lin" valueType="num">

<p:cBhvr override="childStyle">

<p:cTn id="1" dur="2000" fill="hold"/>

<p:tgtEl>

<p:spTgt spid="1">

<p:txEl>

<p:charRg st="1" end="4"/>

</p:txEl>

</p:spTgt>

</p:tgtEl>

<p:attrNameLst>

<p:attrName>style.fontSize</p:attrName>

</p:attrNameLst>

</p:cBhvr>

</p:anim>

end example]

Parent Elements

childTnLst4.6.25); subTnLst4.6.78); tnLst4.6.87)

 

Child Elements

Subclause

cBhvr (Common Behavior)

§4.6.22

tavLst (Time Animated Value List)

§4.6.80

 

Attributes

Description

by (By)

This attribute specifies a relative offset value for the animation with respect to its position before the start of the animation.

 

 

The possible values for this attribute are defined by the XML Schema string datatype.

calcmode (Calculation Mode)

This attribute specifies the interpolation mode for the animation.

 

The possible values for this attribute are defined by the ST_TLAnimateBehaviorCalcMode simple type (§4.8.24).

from (From)

This attribute specifies the starting value of the animation.

 

The possible values for this attribute are defined by the XML Schema string datatype.

to (To)

This attribute specifies the ending value for the animation as a percentage.

 

The possible values for this attribute are defined by the XML Schema string datatype.

valueType (Value Type)

This attribute specifies the type of property value.

 

The possible values for this attribute are defined by the ST_TLAnimateBehaviorValueType simple type (§4.8.25).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_TLAnimateBehavior">

   <sequence>

   <element name="cBhvr" type="CT_TLCommonBehaviorData" minOccurs="1" maxOccurs="1"/>

   <element name="tavLst" type="CT_TLTimeAnimateValueList" minOccurs="0" maxOccurs="1"/>

   </sequence>

   <attribute name="by" type="xsd:string" use="optional"/>

   <attribute name="from" type="xsd:string" use="optional"/>

   <attribute name="to" type="xsd:string" use="optional"/>

   <attribute name="calcmode" type="ST_TLAnimateBehaviorCalcMode" use="optional"/>

   <attribute name="valueType" type="ST_TLAnimateBehaviorValueType" use="optional"/>

</complexType>