<selectFldWithFirstOrLastChar>
(Select Field When First or Last Character Is Selected)
This element specifies whether applications should automatically select the entire contents of a field in a WordprocessingML document when the first or last character is selected.
Typically, users can select any character individually within the result of a field in the document. This element, when present with a @val
attribute value of true
(or equivalent), specifies that selecting the first or last character of that field result shall automatically result in the selection of the entire field.
The default presentation would allow the first character of that field to be selected:
However, if this compatibility setting is turned on:
<w:compat> <w:selectFldWithFirstOrLastChar /> </w:compat>
Then that selection would automatically result in the entire field being selected, resulting in the following:
Parent Elements |
---|
|
Attributes |
Description |
---|---|
|
Specifies a binary value for the property defined by the parent XML element. A value of A value of example:
<w:… w:val="off"/> 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_OnOff">
<attribute name="val" type="ST_OnOff"/>
</complexType>