Export (0) Print
Expand All

DocPartTypes class

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

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

[ChildElementInfoAttribute(typeof(DocPartType))]
public class DocPartTypes : OpenXmlCompositeElement

[ISO/IEC 29500-1 1st Edition]

types (Entry Types)

This element specifies the set of entry types 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.

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

<w:docPartPr>
  <w:types>
    …  </w:types>
  …</w:docPartPr>

The types element specifies the set of entry types which must be associated with the parent glossary document entry. end example]

Parent Elements

docPartPr (§17.12.7)

Child Elements

Subclause

type (Entry Type)

§17.12.15

Attributes

Description

all (Entry Is Of All Types)

Specifies that the current glossary document is all entry types. This attribute shall override any information specified as child elements of this element and shall ensure that the current entry is associated with all available entry types.

If this attribute is omitted, then its default value shall be assumed to be false.

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

<w:docPartPr>
  <w:types w:all="true">
    <w:type w:val="autoExp" />
  </w:types>
  …</w:docPartPr>

The types element contains a single entry type definition, but because the all attribute is present with a value of true, that entry type is augmented to place the parent entry into all possible entry types. end example]

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

[Note: The W3C XML Schema definition of this element’s content model (CT_DocPartTypes) 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