Export (0) Print
Expand All
Expand Minimize

2.1.1221 Part 4 Section 4.6.89, to (To)

a. The standard states that the to element specifies the attribute of the time node after the animation.

For PowerPoint, the following table specifies the strVal value presets that must be used when the corresponding attribute names are used. The supported attribute names are listed in the attrName element (“[ECMA-376] Part 4 §4.6.7; attrName (Attribute Name)”).

attrName(Attribute Name)

strVal Value Preset

style.visibility

“hidden”, “visible”

style.fontWeight

“none”, “normal”, “bold”

style.fontStyle

“none”, “normal”, “italic”

style.textEffectEmboss

“none”, “normal”, “emboss”

style.textShadow

“none”, “normal”, “auto”

style.textTransform

“none”, “normal”, “sub”, “super”

style.textDecorationUnderline

“false”, “true”

style.textEffectOutline

“false”, “true”

style.textDecorationLineThrough

“false”, “true”

imageData.grayscale

“false”, “true”

fill.on

“false”, “f”, “t”, “true”

fill.type

“solid”, “pattern”, “tile”, “frame”, “gradientUnscaled”, “gradient”, “gradientCenter”, “gradientRadial”, “gradientTile”, “background”

fill.method

“none”, “linear”, “sigma”, “any”

stroke.on

“false”, “f”, “t”, “true”

stroke.linestyle

“single”, “thinThin”, “thinThick”, “thickThin”, “thickBetweenThin”

stroke.dashstyle

“solid”, “dot”, “dash”, “dashDot”, “longDash”, “longDashDot”, “longDashDotDot”

stroke.filltype

“solid”, “tile”, “pattern”, “frame”

stroke.startArrow

“none”, “block”, “classic”, “diamond”, “oval”, “open”, “chevron”, “doublechevron”

stroke.endArrow

“none”, “block”, “classic”, “diamond”, “oval”, “open”, “chevron”, “doublechevron”

stroke.startArrowWidth

“narrow”, “medium”, “wide”

stroke.startArrowLength

“short”, “medium”, “long”

stroke.endArrowWidth

“narrow”, “medium”, “wide”

stroke.endArrowLength

“short”, “medium”, “long”

shadow.on

“false”, “f”, “t”, “true”

shadow.type

“single”, “double”, “emboss”, “perspective”

skew.on

“false”, “f”, “t”, “true”

extrusion.on

“false”, “f”, “t”, “true”

extrusion.type

“parallel”, “perspective”

extrusion.render

“solid”, “wireframe”, “boundingcube”

extrusion.plane

“xy”, “zx”, “yz”

extrusion.lockrotationcenter

“false”, “true”

extrusion.autorotationcenter

“false”, “true”

extrusion.colormode

“false”, “true”

b. The standard states that the to element specifies the attribute of the time node after the animation.

In PowerPoint, the child element strVal can be used as a string that represents a parenthesized formula whose format s described in the fmla attribute specified in the tav element (“[ECMA-376] Part 4 §4.6.79; tav (Time Animate Value)”). The format is specified as:

strFormula = '(' , formula , ')' ;

Where formula is a string formula specified as described within tav (“[ECMA-376] Part 4 §4.6.79; tav (Time Animate Value)”).

c. The standard states that the strVal child of the to element is used to specify an attribute that the animation applies to.

In PowerPoint, the child element strVal can be used to represent a real number. The number shall be either a decimal number (for example 2.0, -3.4e-5), a hexadecimal number (for example 0x4A.F, -0X5FE5), an octal number (for example 0o56.4e5, -0O.56), or a binary number (for example 10.01, -11.01e110). This real number format is also used to define color values, in which the percentage is a real number with a postfix ‘%’. The required format is specified as follows:

real_number = value;

percentage = value , ‘%’ ;

value = dec_value | oct_value | hex_value | bin_value ;

dec_value = dec_regular_value | dec_pure_floating ;

dec_regular_value = [ ‘-’ ] , dec_number , [ '.' ] , [ dec_number ] , [ dec_exponent ] ;

dec_pure_float = [ ‘-‘ ] , ‘.’ , dec_number , [ dec_exponent ] ;

oct_value = oct_regular_value | oct_pure_floating ;

oct_regular_value = [ ‘-’ ] , oct_number , [ ‘.’ ] , [ oct_number ] , [ oct_exponent ] ;

oct_pure_floating = [ ‘-‘ ] , ‘.’ , oct_number , [ oct_exponent ] ;

hex_value = hex_regular_value | hex_pure_floating ;

hex_regular_value = [ ‘-’ ] , hex_number , [ ‘.’ ] , [ hex_number ]

hex_pure_floating = [ ‘-‘ ] , ‘.’ , hex_number;

bin_value = bin_regular_value | bin_pure_floating ;

bin_regular_value = [ ‘-’ ] , bin_number , [ ‘.’ ] , [ bin_number ] , [ bin_exponent ] ;

bin_pure_floating = [ ‘-‘ ] , ‘.’ , bin_number , [ bin_exponent ] ;

DecDigit = '0' | '1' | ‘2’ | ‘3’ | ‘4’ | ‘5’ | ‘6’ | ‘7’ | ‘8’ | '9' ;

OctDigit = '0' | '1' | ‘2’ | ‘3’ | ‘4’ | ‘5’ | ‘6’ | ‘7’;

HexDigit = '0' | '1' | ‘2’ | ‘3’ | ‘4’ | ‘5’ | ‘6’ | ‘7’ | ‘8’ | '9' | ‘A’ | ‘a’ | ‘B’ | ‘b’ | ‘C’ | ‘c’ | ‘D’ | ‘d’ | ‘E’ | ‘e’ | ‘F’ | ‘f’ ;

BinDigit = ‘0’ | ‘1’ ;

dec_number = Digit , { Digit } ;

oct_number = ‘0’ , ( ‘o’ | ‘O’ ) , OctDigit , { OctDigit } ;

hex_number = ‘0’ , (‘x’ | ‘X’ ), HexDigit , { HexDigit } ;

bin_number = ‘0’ , (‘b’ | ‘B’ ) , BinDigit , { BinDigit } ;

dec_exponent = [ '-' ] , ( 'e' | 'E' ) , dec_number ;

oct_exponent = [ '-' ] , ( 'e' | 'E' ) , oct_number ;

bin_exponent = [ '-' ] , ( 'e' | 'E' ) , bin_number ;

d. The standard states that the strVal child of the to element is used to specify an attribute that the animation applies to.

In PowerPoint, the child element strVal can be used to represent a color as follows:

rgb(r_value, g_value, b_value). r_value, g_value, and b_value are values for red, green, and blue spectrum, respectively. The values are either real numbers or percentages. For example, “rgb(255, 0, 0)” and “rgb(100%, 0, 0)” both defines a red color.

rgb(r_value, g_value, b_value, a_value). r_value, g_value, b_value, and a_value are values for red, green, blue, and alpha spectrum, respectively. The values are either real numbers or percentages. For example, “rgb(255, 0, 0, 255)” and “rgb(100%, 0, 0, 100%)” are red with a full opacity.

hsl(h_value, s_value, l_value). h_value, s_value, and l_value are values for hue, saturation, and lightness, respectively. The values are either real numbers or percentages. For example, “hsl(0, 255, 127.5)” and “hsl(0,100%, 50%)” are red, equivalent to “rgb(255, 0, 0)”.

hsl(h_value, s_value, l_value, a_value). h_value, s_value, l_value, and a_value are values for hue, saturation, lightness, and alpha, respectively. The values are either real numbers or percentages. For example, “hsl(0, 255, 127.5, 255)” and “hsl(0,100%, 50%, 100%)” are red with a full opacity, equivalent to “rgb(255, 0, 0, 255)”.

#rrggbb. rr, gg, and bb are hexadecimal values for red, green, and blue spectrum, respectively. For example, “#FF0000” is red, equivalent to “rgb(255, 0, 0)”.

#aarrggbb.aa, rr, gg, and bb are hexadecimal values for alpha, red, green, and blue spectrum, respectively. For example, “#FFFF0000” is red with a full opacity, equivalent to “rgb(255, 0, 0, 255)”.

#rgb. r, g, and b are hexadecimal values for red, green, and blue spectrum, respectively. It is equivalent to #r0g0b0. For example, “#F00” is equal to “#F00000”.

#argb.a, r, g, and b are hexadecimal values for alpha, red, green, and blue spectrum, respectively. It is equivalent to # a0r0g0b0. For example, “#F00F” is equal to “#F00000F0”.

Show:
© 2014 Microsoft