[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

effect (Animated Text Effect)

This element specifies an animated text effect which should be displayed when rendering the contents of this run. This effect is rendered around the extents of the text in the run in the same location as a run border with zero pixels of padding would be rendered (if such a run border was present).

If this element is not present, the default value is to leave the formatting applied at previous level in the style hierarchy. If this element is never applied in the style hierarchy, then no text effect shall be applied to the contents of this run.

[Example: Consider a run of text which shall have an animated text effect consisting of multiple colored flashing lights (see possible attribute values for descriptions of each effect). This constraint is specified using the following WordprocessingML:

<w:rPr>
<w:effect w:val="lights"/>
</w:rPr>

This run explicitly declares that the effect property is lights, so the contents of this run will have an animated lights text effect. end example]

Parent Elements

rPr2.7.8.1); rPr2.3.1.29); rPr2.5.2.26); rPr2.3.2.25); rPr2.3.2.26); rPr2.7.4.4); rPr2.3.1.30); rPr2.9.26); rPr2.5.2.27); rPr2.7.5.2)

 

Attributes

Description

val (Animated Text Effect Type)

Specifies the type of animated text effect which shall be applied to this text run.

 

[Example: Consider a run of text which shall have an animated text effect consisting of multiple colored flashing lights. This constraint is specified using the following WordprocessingML:

 

<w:rPr>
<w:effect w:val="lights"/>
</w:rPr>

 

This run explicitly declares a type of text effect, using the val property, of lights, so the contents of this run will have the animated lights text effect. end example]

 

The possible values for this attribute are defined by the ST_TextEffect simple type2.18.101).

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

<complexType name="CT_TextEffect">

   <attribute name="val" type="ST_TextEffect" use="required"/>

</complexType>