Share via


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

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.OpenXmlPartRootElement
        DocumentFormat.OpenXml.Wordprocessing.GlossaryDocument

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(DocumentBackground))> _
<ChildElementInfoAttribute(GetType(DocParts))> _
Public Class GlossaryDocument _
    Inherits OpenXmlPartRootElement
'Usage
Dim instance As GlossaryDocument
[ChildElementInfoAttribute(typeof(DocumentBackground))]
[ChildElementInfoAttribute(typeof(DocParts))]
public class GlossaryDocument : OpenXmlPartRootElement

Remarks

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:

<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.

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

Reference

GlossaryDocument Members

DocumentFormat.OpenXml.Wordprocessing Namespace