<text>
(Plain Text Structured Document Tag)
This element specifies that the parent structured document tag shall be a plain text box when displayed in the document.
This setting specifies that the behavior for this structured document tag shall be as follows:
Formatting applied to any part of this structured document tag's contents shall apply to its entire contents
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) with exceptions for soft carriage returns via the
@multiLine
attribute on this elementThe 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:text/> </w:sdtPr> … </w:sdt>
The <text>
element in this structured document tag's properties specify that the type of structured document tag is a plain text box. ]
Parent Elements |
---|
|
Attributes |
Description |
---|---|
|
Specifies whether soft line breaks may be added to the contents of this structured document tag when this document is modified. This setting shall not affect the ability of the structured document tag to display existing soft line breaks (which shall be preserved) and shall only affect the ability to add line breaks when the document is modified by an application. If this attribute is omitted, then the parent plain text structured document control shall not allow soft line breaks to be added to its contents. <w:sdt> <w:sdtPr> … <w:text w:multiLine="true"/> </w:sdtPr> … </w:sdt> The The possible values for this attribute are defined by the ST_OnOff simple type (§2.18.67). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_SdtText">
<attribute name="multiLine" type="ST_OnOff"/>
</complexType>