[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

sizeAuto (Automatically Size Form Field)

This element specifies that the parent checkbox form field shall be formatted using the point size which is applied to its field characters via the style hierarchy.

[Example: Consider the following WordprocessingML fragment for the properties of a checkbox form field:

<w:r>
<w:rPr>
<w:sz w:val="40"/>
</w:rPr>
<w:fldChar w:type="begin">
<w:ffData>
<w:checkBox>
<w:sizeAuto />

<w:checked w:val="true" />
</w:checkBox>
</w:ffData>
</w:r>

The sizeAuto element specifies that the checkbox shall be displayed in the point size of the formatting which would normally be applied to this text via the style hierarchy. In this case, this size is the twenty points specified via the direct formatting on the parent run. end example]

Parent Elements

checkBox2.16.7)

 

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>