<tcFitText> (Fit Text Within Cell)

This element specifies that the contents of the current cell shall have their inter-character spacing increased or reduced as necessary to fit the width of the text extents of the current cell. This setting shall behave identically to placing the contents of this paragraph in a run and using the <fitText> element (§2.3.2.12), if the width provided on that element matched the width of the current cell.

If this element is omitted, then the text in this cell shall not be fit to the current cell extents.

example:
<w:tcPr>
  <w:tcFitText w:val="true"/>
</w:tcPr>

The resulting table cells shall have their contents fit to the extents of the parent table cell, as follows:

Sample text in R1C1.

And this table cell instead contains a very very long string of sample text in R2C2.

R2C1

R2C2

Parent Elements

<tcPr>2.7.5.8); <tcPr>2.4.66); <tcPr>2.7.5.9); <tcPr>2.4.67)

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:
<w:… w:val="off"/>

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

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>