<trHeight>
(Table Row Height)
This element specifies the height of the current table row within the current table. This height shall be used to determine the resulting height of the table row, which may be absolute or relative (depending on its attribute values).
If omitted, then the table row shall automatically resize its height to the height required by its contents (the equivalent of an @hRule
value of auto
).
Some text in R1C1. |
|
Examining the WordprocessingML for this table, the <trHeight>
element is not specified, so the row heights are automatically determined by their contents (in the first row, the text Some text in R1C1.
). If the first row shall be restricted to 0.1 inches high (144 twentieths of a point) regardless of its contents, that would be specified using the <trHeight>
element as follows:
<w:trPr> <w:trHeight w:val="144" w:hRule="exact"/> </w:trPr>
The resulting table row would be exactly 144 twentieths of a point high:
Some text in R1C1. |
|
Attributes |
Description |
---|---|
|
Specifies the meaning of the height specified for this table row. The meaning of the value of the
If this attribute is omitted, then its value shall be assumed to be example:
<w:tr> <w:trPr> <w:trHeight w:val="2189" w:hRule="atLeast"/> </w:trPr> … </w:tr> The The possible values for this attribute are defined by the ST_HeightRule simple type (§2.18.42). |
|
Specifies the table row's height. This height is expressed in twentieths of a point. If this attribute is omitted, then its value shall be assumed to be The meaning of the value of the
example:
<w:tr> <w:trPr> <w:trHeight w:val="2189" w:hRule="atLeast"/> </w:trPr> … </w:tr> The The possible values for this attribute are defined by the ST_TwipsMeasure simple type (§2.18.105). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_Height">
<attribute name="val" type="ST_TwipsMeasure"/>
<attribute name="hRule" type="ST_HeightRule"/>
</complexType>