GlossaryDocument Class

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

Inheritance Hierarchy


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


<ChildElementInfoAttribute(GetType(DocumentBackground))> _
<ChildElementInfoAttribute(GetType(DocParts))> _
Public Class GlossaryDocument _
    Inherits OpenXmlPartRootElement
Dim instance As GlossaryDocument
public class GlossaryDocument : OpenXmlPartRootElement


The following table lists the possible child types:

  • DocumentBackground <w:background>

  • DocParts <w:docParts>

[ISO/IEC 29500-1 1st Edition]

17.12.10 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:


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

Parent Elements

Root element of WordprocessingML Glossary Document part

Child Elements


background (Document Background)


docParts (List of Glossary Document Entries)


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

See Also


GlossaryDocument Members

DocumentFormat.OpenXml.Wordprocessing Namespace