Gallery Class
Gallery Associated With Entry.When the object is serialized out as xml, its qualified name is w:gallery.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.Gallery
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
Public Class Gallery _
Inherits OpenXmlLeafElement
'Применение
Dim instance As Gallery
public class Gallery : OpenXmlLeafElement
Remarks
[ISO/IEC 29500-1 редакция 1]
17.12.9 gallery (Gallery Associated With Entry)
This element specifies the predefined gallery into which the current glossary document part shall be classified. This classification, although its enumeration values can be interpreted to imply semantics around the contents of the parent glossary document entry, shall only be used to classify and sort this entry (via an application or a user interface).
[Example: Consider the following WordprocessingML fragment for the properties of a single glossary document entry:
<w:docPartPr>
<w:category>
<w:gallery w:val="coverPg" />
<w:name w:val="Internal Memo Covers" />
</w:category>
…
</w:docPartPr>
The gallery element with a value of coverPg specifies that the gallery categorization applied to the current entry, for the purposes of classification or user interface sorting, puts this entry into the Cover Pages classification. end example]
Parent Elements |
---|
category (§17.12.3) |
Attributes |
Description |
---|---|
val (Gallery Value) |
Specifies the classification of gallery which shall be associated with the parent glossary document entry. [Example: Consider the following WordprocessingML fragment for a single glossary document entry:
The val attribute with a value of custom1 specifies that the gallery categorization applied to the current entry is the Custom 1 classification. end example] The possible values for this attribute are defined by the ST_DocPartGallery simple type (§17.18.16). |
[Note: The W3C XML Schema definition of this element's content model (CT_DocPartGallery) is located in §A.1. end note]
© ISO/IEC29500: 2008. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.
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.