<listItem>
(Combo Box List Item)
This element specifies a single list item within the parent combo box structured document tag. Each list item shall be displayed in the list displayed for the parent structured document tag (if a user interface is present).
<w:sdt> <w:sdtPr> <w:comboBox> <w:listItem w:displayText="Zero" w:value="0"/> <w:listItem w:displayText="One" w:value="1"/> </w:comboBox> </w:sdtPr> … </w:sdt>
Each <listItem>
element within the <comboBox>
element specifies a single list item entry, in this case resulting in two list items within the parent combo box structured document tag. ]
Parent Elements |
---|
|
Attributes |
Description |
---|---|
|
Specifies the text to display in the run content (as well as any supplied user interface) in place of the This value shall be used as follows:
If this attribute is omitted, then the content of the <w:sdt> <w:sdtPr> <w:dropDownList> <w:listItem w:displayText="The Letter A" w:value="a"/> <w:listItem w:displayText="The Letter B" w:value="b"/> </w:dropDownList> </w:sdtPr> … </w:sdt> The The possible values for this attribute are defined by the ST_String simple type (§2.18.89). |
|
Specifies the value for the current list item entry. This value shall be used as follows:
<w:sdt> <w:sdtPr> <w:comboBox> <w:listItem w:displayText="Zero" w:value="0"/> <w:listItem w:displayText="One" w:value="1"/> </w:comboBox> </w:sdtPr> … </w:sdt> The 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_SdtListItem">
<attribute name="displayText" type="ST_String"/>
<attribute name="value" type="ST_String"/>
</complexType>