[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
sdtPr (Structured Document Tag Properties)
This element specifies the set of properties which shall be applied to the parent structured document tag.
[Example: Consider a structured document tag with the following properties specified:
<w:sdtPr>
<w:alias w:val="Birthday"/>
<w:id w:val="8775518"/>
<w:date>
<w:dateFormat w:val="M/d/yyyy"/>
<w:lid w:val="EN-US"/>
</w:date>
</w:sdtPr>
This structured document tag specifies three properties: the a friendly name of Birthday via the alias element (§2.5.2.1), a unique ID of 8775518 via the id element (§2.5.2.18), and a structured document tag type of date picker via the date element (§2.5.2.7) which itself has a set of date-specific properties. end example]
Parent Elements |
sdt (§2.5.2.29); sdt (§2.5.2.30); sdt (§2.5.2.28); sdt (§2.5.2.31) |
Child Elements |
Subclause |
alias (Friendly Name) |
§2.5.2.1 |
bibliography (Bibliography Structured Document Tag) |
§2.5.2.2 |
citation (Citation Structured Document Tag) |
§2.5.2.4 |
comboBox (Combo Box Structured Document Tag) |
§2.5.2.5 |
dataBinding (XML Mapping) |
§2.5.2.6 |
date (Date Structured Document Tag) |
§2.5.2.7 |
docPartList (Document Part Gallery Structured Document Tag) |
§2.5.2.12 |
docPartObj (Built-In Document Part Structured Document Tag) |
§2.5.2.13 |
dropDownList (Drop-Down List Structured Document Tag) |
§2.5.2.15 |
equation (Equation Structured Document Tag) |
§2.5.2.16 |
group (Group Structured Document Tag) |
§2.5.2.17 |
id (Unique ID) |
§2.5.2.18 |
lock (Locking Setting) |
§2.5.2.22 |
picture (Picture Structured Document Tag) |
§2.5.2.23 |
placeholder (Structured Document Tag Placeholder Text) |
§2.5.2.24 |
richText (Rich Text Structured Document Tag) |
§2.5.2.25 |
rPr (Run Properties For Structured Document Tag Contents) |
§2.5.2.26 |
showingPlcHdr (Current Contents Are Placeholder Text) |
§2.5.2.38 |
tag (Programmatic Tag) |
§2.5.2.40 |
temporary (Remove Structured Document Tag When Contents Are Edited) |
§2.5.2.41 |
text (Plain Text Structured Document Tag) |
§2.5.2.42 |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_SdtPr">
<choice maxOccurs="unbounded">
<element name="rPr" type="CT_RPr" minOccurs="0"/>
<element name="alias" type="CT_String" minOccurs="0"/>
<element name="lock" type="CT_Lock" minOccurs="0"/>
<element name="placeholder" type="CT_Placeholder" minOccurs="0"/>
<element name="showingPlcHdr" type="CT_OnOff" minOccurs="0"/>
<element name="dataBinding" type="CT_DataBinding" minOccurs="0"/>
<element name="temporary" type="CT_OnOff" minOccurs="0"/>
<element name="id" type="CT_DecimalNumber" minOccurs="0"/>
<element name="tag" type="CT_String" minOccurs="0"/>
<choice minOccurs="0" maxOccurs="1">
<element name="equation" type="CT_Empty"/>
<element name="comboBox" type="CT_SdtComboBox"/>
<element name="date" type="CT_SdtDate"/>
<element name="docPartObj" type="CT_SdtDocPart"/>
<element name="docPartList" type="CT_SdtDocPart"/>
<element name="dropDownList" type="CT_SdtDropDownList"/>
<element name="picture" type="CT_Empty"/>
<element name="richText" type="CT_Empty"/>
<element name="text" type="CT_SdtText"/>
<element name="citation" type="CT_Empty"/>
<element name="group" type="CT_Empty"/>
<element name="bibliography" type="CT_Empty"/>
</choice>
</choice>
</complexType>