[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

checkBox (Checkbox Form Field Properties)

This element specifies a set of properties which shall be associated with the parent FORMCHECKBOX checkbox form field (§2.16.5.26) within the document.

If the parent form field is not a checkbox (i.e. its field code does not have a value of FORMCHECKBOX), then these properties may be ignored.

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

<w:ffData>
<w:checkBox>
<w:size w:val="20" />

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

The checkBox element specifies that it contains a set of properties for the parent checkbox form field. In this case, these properties specify that the size of the checkbox shall be exactly 10 points via the size element (§2.16.30), and that the current state of the checkbox shall be checked via the checked element (§2.16.8). end example]

Parent Elements

ffData2.16.17)

 

Child Elements

Subclause

checked (Checkbox Form Field State)

§2.16.8

default (Default Checkbox Form Field State)

§2.16.12

size (Checkbox Form Field Size)

§2.16.30

sizeAuto (Automatically Size Form Field)

§2.16.31

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

<complexType name="CT_FFCheckBox">

   <sequence>

   <choice>

   <element name="size" type="CT_HpsMeasure"/>

   <element name="sizeAuto" type="CT_OnOff"/>

   </choice>

   <element name="default" type="CT_OnOff" minOccurs="0"/>

   <element name="checked" type="CT_OnOff" minOccurs="0"/>

   </sequence>

</complexType>