GlossaryDocument class

Office 2013 and later

Glossary Document Root Element. The root element of GlossaryDocumentPart. When the object is serialized out as xml, its qualified name is w:glossaryDocument.

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

[ChildElementInfoAttribute(typeof(DocumentBackground))]
[ChildElementInfoAttribute(typeof(DocParts))]
public class GlossaryDocument : OpenXmlPartRootElement

[ISO/IEC 29500-1 1st Edition]

glossaryDocument (Glossary Document Root Element)

This element specifies the root element for a glossary document part within a WordprocessingML document. A glossary document is an supplementary document story in a WordprocessingML that shall be afforded all of the relationships of the Main Document part, such as:

  • Style definitions

  • Numbering definitions

  • Comments

  • Headers/footers

  • Etc.

The entries stored in this part shall have all of its implicit relationships target these parts, rather than their analogues stored off of the main document part.

[Example: Consider the following definition for the contents of a glossary document part within a WordprocessingML document:

<w:glossaryDocument>
  <w:docParts>
    <w:docPart>
      …    </w:docPart>
    <w:docPart>
      …    </w:docPart>
  </w:docParts>
</w:glossaryDocument>

The glossaryDocument element defines the contents of the glossary document part. end example]

Parent Elements

Root element of WordprocessingML Glossary Document part

Child Elements

Subclause

background (Document Background)

§17.2.1

docParts (List of Glossary Document Entries)

§17.12.8

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