Export (0) Print
Expand All
Expand Minimize

2.1.1132 Part 1 Section 19.5.4, animMotion (Animate Motion)

For additional notes that apply to this portion of the standard, please see the notes for tnLst, §19.5.87(b) .

a. The standard does not state a default value for the origin attribute.

PowerPoint uses a default value of parent for the origin attribute.

b. The standard states that the path attribute of the animMotion element specifies a path primitive for the animation motion.

In Office, the path is specified by defining an action, and typically some coordinates that go along with the action.

The allowed action types that are understood within a path are listed in the following table. If the action is expressed in UPPERCASE, the following point(s) are to be interpreted as absolute coordinates, or a point on the slide. If in lowercase, the point(s) are to be interpreted as relative coordinates, or an offset from the current position.

Action Types

M = move to

This action requires a point (two coordinates).

Move to will move the object to the specified point. It does not animate the object to that point; rather, the object will snap to the given point.

L = line to

This action requires a point (two coordinates).

Line to will move the object to the specified point along the shortest line between the current point and the specified point.

C = curve to

This action requires three points (six coordinates).

Curve to will move the object along a cubic Bezier curve specified by the current point and the three provided points.

Z=close loop

This action requires no points.

Close loop will move the object back to where it was before the path began along the shortest line between the current point and the starting point.

The relative (lowercase) and absolute (uppercase) versions of this action are identical.

E=end

This action requires no points.

End will terminate the motion path. Any action specified in the string after the End action is ignored. The specification of this action is not required. If this action is not present at the end of a string and the string ends, this action will be implied.

The relative and absolute versions of this action are identical.

Points are expressed as percentages of the slide size; 1,1 means the lower-right corner of the slide in absolute coordinates, or the slide width & height in relative coordinates. Expressing a coordinate less than 1 but greater than 0 must be prefixed with 0 before the decimal point. If the leading zero is left off, the decimal is thrown away and the coordinate is read without it.

Formulas can also be used here. To use a formula, the entire formula must be inside parentheses. Parentheses can be used inside the formula, but no greater than a depth of 255. Formula syntax is further detailed in the entry for tav (Time Animate Value) ("[ISO/IEC-29500-1] §19.5.79; tav").

If the requirements for an action are not met (that is, too many or too few points are specified,) the entire path shall be thrown away.

If the path string is left empty or not specified, the animation will do nothing, but shall take up the required amount of time as specified by the behavior.

c. The standard does not state a default value for the pathEditMode attribute.

PowerPoint uses a default value of relative for the pathEditMode attribute.

d. The standard states that the ptsTypes attribute specifies the types of points in the path attribute.

In Office, the ptsTypes attribute additionally describes what the motion path should look like around the current point. This attribute has no effect on the playing of the animation. It is only used when the motion path is edited in Office.

Each character in this string sequentially maps to a point defined in the path string. If there are more entries than points, the extra entries are ignored. If there are fewer entries than points, the extra points are to be treated as follows: If the action after the point is a Line To, then the point is treated as an ‘F’ (corner line). Otherwise, the point will be treated as an ‘f’ (corner curve).

e. The standard does not state a default value for the rAng attribute.

PowerPoint uses a default value of 0 for the rAng attribute.

f. The standard states that the animMotion element provides an abstract way to move positioned elements via a set of attributes and child elements.

The attrNameLst element in the cBhvr child is permitted to contain up to two attributes to be animated. If the first attribute is not specified, the ppt_x attribute will be used. If the second attribute is not specified, the ppt_y attribute will be used. If more than two attributes are specified, only the first two shall be used. The attributes used must be one of the following: ppt_x, ppt_y, ppt_w, ppt_h, ppt_r, style.fontSize, xskew, yskew, xshear, yshear, scaleX, or scaleY.

Show:
© 2014 Microsoft