[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ST_HeightRule (Height Rule)

This simple type specifies the logic which shall be used to calculate the height of the parent object when it is displayed in the document.

[Example: Consider the following table row:

<w:trPr>
<w:trHeight w:hRule=”atLeast” w:val=”2189” />
</w:trPr>

The val attribute specifies a value of 2189 twentieths of a point, so this table row will be a minimum of 2189 twentieths of a point high regardless of its contents, since its hRule value is set to atLeast. end example]

This simple type's contents are a restriction of the XML Schema string datatype.

The following are possible enumeration values for this type:

Enumeration Value

Description

atLeast (Minimum Height)

Specifies that the height of the parent object shall be at least the value specified, but may be expanded to fit its content as needed.

auto (Determine Height Based On Contents)

Specifies that the height of the parent object shall be automatically determined by the size of its contents, with no predetermined minimum or maximum size.

exact (Exact Height)

Specifies that the height of the parent object shall be exactly the value specified, regardless of the size of the contents of the object.

 

If the contents are too large for the specified height, then they shall be clipped.

 

Referenced By

framePr@hRule2.3.1.11); trHeight@hRule2.4.77)

The following XML Schema fragment defines the contents of this simple type:

<simpleType name="ST_HeightRule">

   <restriction base="xsd:string">

   <enumeration value="auto"/>

   <enumeration value="exact"/>

   <enumeration value="atLeast"/>

   </restriction>

</simpleType>