[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

showingPlcHdr (Current Contents Are Placeholder Text)

This element specifies whether the content of the sdtContent element (§2.5.2.32; §2.5.2.33; §2.5.2.34; §2.5.2.35) for the parent structured document tag shall be interpreted to contain placeholder text for this structured document tag (as opposed to regular text contents within the structured document tag). If this element is present and set to true, this state shall be resumed (showing placeholder text) upon opening this document.

If this element is omitted, then the structured document tag shall not be interpreted to be showing placeholder text when the document is displayed.

[Example: Consider the following structured document tag:

<w:sdt>
<w:sdtPr>
<w:showingPlcHdr/>

<w:richText/>
</w:sdtPr>
<w:sdtContent>
<w:r>
<w:t>[Type your name here]</w:t>
</w:r>
</w:sdtContent>
</w:sdt>

This structured document tag has run contents which read [Type your name here], which would typically be interpreted as the current contents of the structured document tag. However, since the showingPlcHdr element has been specified in the structured document tag's properties, this content shall instead be interpreted as the placeholder text for the structured document tag. end example]

Parent Elements

sdtPr2.5.2.37)

 

Attributes

Description

val (On/Off Value)

Specifies a binary value for the property defined by the parent XML element.

 

A value of on, 1, or true specifies that the property shall be explicitly applied. This is the default value for this attribute, and is implied when the parent element is present, but this attribute is omitted.

 

A value of off, 0, or false specifies that the property shall be explicitly turned off.

 

[Example: For example, consider the following on/off property:

 

<w:… w:val="off"/>

 

The val attribute explicitly declares that the property is turned off. end example]

 

The possible values for this attribute are defined by the ST_OnOff simple type2.18.67).

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

<complexType name="CT_OnOff">

   <attribute name="val" type="ST_OnOff"/>

</complexType>