Template Class

Template Effects.When the object is serialized out as xml, its qualified name is p:tmpl.

Namespace:  DocumentFormat.OpenXml.Presentation
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

[ChildElementInfoAttribute(typeof(TimeNodeList))]
public class Template : OpenXmlCompositeElement

The following table lists the possible child types:

  • TimeNodeList <p:tnLst>


[ISO/IEC 29500-1 1st Edition]

19.5.84 tmpl (Template Effects)

This element specifies the "template" effects that are used by the build element. Template effects are used in text builds on the master slide.  They define the rules of what effect should be applied to the 1st level paragraph, 2nd level paragraph, etc.

[Example: Consider a template with a fade in effect applied to it. The <tmpl> element should be used as follows:


<p:timing>
  <p:tnLst> … </p:tnLst>
  <p:bldLst>
    <p:bldP spid="3" grpId="0" build="p">
      <p:tmplLst>
        <p:tmpl lvl="1">
        </p:tmpl>
      </p:tmplLst>
    </p:bldP>
  </p:bldLst>
</p:timing>

end example]

Parent Elements

tmplLst (§19.5.85)

Child Elements

Subclause

tnLst (Time Node List)

§19.5.87

Attributes

Description

lvl (Level)

This attribute describes the paragraph indent level to which this template effect applies.

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

[Note: The W3C XML Schema definition of this element’s content model (CT_TLTemplate) is located in §A.3. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft