<dropDownList>
(Drop-Down List Structured Document Tag)
This element specifies that the parent structured document tag shall be a drop-down list when displayed in the document.
This setting specifies that the behavior for this structured document tag shall be as follows:
The contents shall not be editable when displayed by a hosting application regardless of the locking settings
The child elements of this element specify choices which shall be displayed in a standard drop-down list format
As well, the structured document tag must satisfy the following restraints or the document shall be considered invalid:
The contents shall only be contain a single run (one set of formatting properties)
The contents shall not contain more than a single paragraph or table cell and shall not contain a table row or table
<w:sdt> <w:sdtPr> … <w:dropDownList> … </w:dropDownList> </w:sdtPr> … </w:sdt>
The <dropDownList>
element in this structured document tag's properties specify that the type of structured document tag is a drop-down list. ]
Parent Elements |
---|
|
Child Elements |
Subclause |
---|---|
|
Attributes |
Description |
---|---|
|
Specifies the value associated with the current display text for the drop-down list structured document tag. If this structured document tag is not mapped to XML using the
<w:sdt> <w:sdtPr> <w:dataBinding … /> <w:dropDownList w:lastValue="2"/> </w:sdtPr> <w:sdtContent> <w:r> <w:t>Hello world</w:t> </w:r> </w:sdtContent> </w:sdt> The current run content of the structured document tag reads The possible values for this attribute are defined by the ST_String simple type (§2.18.89). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_SdtDropDownList">
<sequence>
<element name="listItem" type="CT_SdtListItem" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="lastValue" type="ST_String" use="optional"/>
</complexType>