Export (0) Print
Expand All

DocPartType class

Entry Type. When the object is serialized out as xml, its qualified name is w:type.

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

public class DocPartType : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

type (Entry Type)

This element specifies an entry type which shall be applied to the properties of the parent glossary document entry (§17.12.5). Each of these entry types can, based on their values, influence the visibility and behavior of the parent glossary document entry as defined by the associated simple type information.

[Example: Consider the following WordprocessingML fragment for the properties of a single glossary document entry:

<w:docPartPr>
  <w:types>
    <w:type w:val="bbPlcHdr" />
  </w:types>
  …</w:docPartPr>

The type element with a value of bbPlcHdr specifies that the parent glossary document entry must be treated as if it was the placeholder text for one or more structured document tags in the document. end example]

Parent Elements

types (§17.12.16)

Attributes

Description

val (Type Value)

Specifies the value for the current entry type.

[Example: Consider the following WordprocessingML fragment for the properties of a single glossary document entry:

<w:type w:val="bbPlcHdr" />

The val attribute value of bbPlcHdr specifies that the parent glossary document entry must be treated as if it was the placeholder text for one or more structured document tags in the document. end example]

The possible values for this attribute are defined by the ST_DocPartType simple type (§17.18.17).

[Note: The W3C XML Schema definition of this element’s content model (CT_DocPartType) is located in §A.1. 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

Show:
© 2014 Microsoft