<cBhvr> (Common Behavior)

This element describes the common behaviors of animations.

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

  <p:anim to="1.5" calcmode="lin" valueType="num">
    <p:cBhvr override="childStyle">
      <p:cTn id="6" dur="2000" fill="hold"/>
      <p:tgtEl>
        <p:spTgt spid="3">
          <p:txEl>
            <p:charRg st="4294967295" end="4294967295"/>
          </p:txEl>
        </p:spTgt>
      </p:tgtEl>
      <p:attrNameLst>
        <p:attrName>style.fontSize</p:attrName>
      </p:attrNameLst>
    </p:cBhvr>
  </p:anim>

End example]

Parent Elements

<anim>4.6.1); <animClr>4.6.2); <animEffect>4.6.3); <animMotion>4.6.4); <animRot>4.6.5); <animScale>4.6.6); <cmd>4.6.28); <set>4.6.66)

Child Elements

Subclause

<attrNameLst> (Attribute Name List)

§4.6.8

<cTn> (Common Time Node Properties)

§4.6.33

<tgtEl> (Target Element)

§4.6.81

Attributes

Description

<accumulate> (Accumulate)

This attribute makes a repeating animation build with each iteration when set to "always."

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

<additive> (Additive)

This attribute specifies how to apply the animation values to the original value for the property.

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

<by> (By)

This attribute specifies a relative offset value for the animation..

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

<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.

<override> (Override)

This attribute specifies how a behavior should override values of the attribute being animated on the target element. The "childStyle" will clear the attributes on the children contained inside the target element.

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

<rctx> (Runtime Context)

This attribute describes the runtime context of the animation. The currently-understood values are “PPT” and “IE.” This is used to specify the behavior used when animating in the PPT slideshow vs. IE HTML runtime. An example can be seen with the transparency effect. In IE, the transparency is animated as a bitmap, where in PPT, the style.opacity property of a shape is used to animate the transparency.

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

<to> (To)

This attribute specifies the ending value of the animation.

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

<xfrmType> (Transform Type)

This attribute specifies the type of transform to be used.

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

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

<complexType name="CT_TLCommonBehaviorData">
	<sequence>
	<element name="cTn" type="CT_TLCommonTimeNodeData" minOccurs="1" maxOccurs="1"/>
	<element name="tgtEl" type="CT_TLTimeTargetElement" minOccurs="1" maxOccurs="1"/>
	<element name="attrNameLst" type="CT_TLBehaviorAttributeNameList" minOccurs="0" maxOccurs="1"/>
	</sequence>
	<attribute name="additive" type="ST_TLBehaviorAdditiveType" use="optional"/>
	<attribute name="accumulate" type="ST_TLBehaviorAccumulateType" use="optional"/>
	<attribute name="xfrmType" type="ST_TLBehaviorTransformType" use="optional"/>
	<attribute name="from" type="xsd:string" use="optional"/>
	<attribute name="to" type="xsd:string" use="optional"/>
	<attribute name="by" type="xsd:string" use="optional"/>
	<attribute name="rctx" type="xsd:string" use="optional"/>
	<attribute name="override" type="ST_TLBehaviorOverrideType" use="optional"/>
</complexType>