Template Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Presentation.Template

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(TimeNodeList))> _
Public Class Template _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Template
[ChildElementInfoAttribute(typeof(TimeNodeList))]
public class Template : OpenXmlCompositeElement

Remarks

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.

Thread Safety

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

See Also

Reference

Template Members

DocumentFormat.OpenXml.Presentation Namespace