TemplateCode Class
Numbering Template Code.When the object is serialized out as xml, its qualified name is w:tmpl.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.LongHexNumberType
DocumentFormat.OpenXml.Wordprocessing.TemplateCode
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Class TemplateCode _
Inherits LongHexNumberType
'Usage
Dim instance As TemplateCode
public class TemplateCode : LongHexNumberType
Remarks
[ISO/IEC 29500-1 1st Edition]
17.9.30 tmpl (Numbering Template Code)
This element specifies a unique hexadecimal code which can be used to determine a location within application user interface in which this abstract numbering definition shall be displayed.
If this element is omitted, then this abstract numbering definition can be displayed in any location chosen by the consumer.
[Example: Consider the following abstract numbering definition:
<w:abstractNum w:abstractNumId="1"> … <w:tmpl w:val="CA48B6BA" /> … </w:abstractNum>
In this example the abstractNum element with attribute abstractNumId equal to 1, would appear in the area within a consumer's application user interface specified by the template code CA48B6BA.end example]
Parent Elements |
---|
abstractNum (§17.9.1) |
Attributes |
Description |
---|---|
val (Long Hexadecimal Number Value) |
Specifies a number value specified as a four digit hexadecimal number), whose contents of this decimal number are interpreted based on the context of the parent XML element. [Example: Consider the following value for an attribute of simple type ST_LongHexNumber: 00BE2C6C. This value is permitted, as it contains four hexadecimal digits, each an encoding of an octet of the actual decimal number value. It can therefore be interpreted as desired in the context of the parent XML element, end example] The possible values for this attribute are defined by the ST_LongHexNumber simple type (§17.18.50). |
[Note: The W3C XML Schema definition of this element’s content model (CT_LongHexNumber) is located in §A.1. 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.