[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

placeholder (Structured Document Tag Placeholder Text)

This element specifies the placeholder text which should be displayed when this structured document tag's run contents are empty, the associated mapped XML element is empty as specified via the dataBinding element (§2.5.2.6) or the showingPlcHdr element (§2.5.2.38) is set in the structured document tag's properties. The placeholder text which shall be shown is itself specified via the child element docPart.

If this element is omitted, then five non-breaking spaces shall be used as the default placeholder text for this structured document tag.

[Example: Consider a structured document tag defined as follows:

<w:sdt>
<w:sdtPr>
<w:placeholder>
<w:docPart w:val="DefaultPlaceholder_22610170" />
</w:placeholder>

</w:sdtPr>
<w:sdtContent>

</w:sdtContent>
</w:sdt>

This structured document tag specifies through the placeholder element that its placeholder text shall be specified in the document part of type bbPlcHdr whose name is equal to DefaultPlaceholder_22610170. end example]

Parent Elements

sdtPr2.5.2.37)

 

Child Elements

Subclause

docPart (Document Part Reference)

§2.5.2.9

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Placeholder">

   <sequence>

   <element name="docPart" type="CT_String"/>

   </sequence>

</complexType>