[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ST_LineSpacingRule (Line Spacing Rule)

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

[Example: Consider the following WordprocessingML paragraph:

<w:pPr>

<w:spacing w:line="276" w:lineRule="auto" />

</w:pPr>

This paragraph specifies that the spacing in each line should be automatically calculated using 1.15 times (276 divided by 240) the normal single spacing calculation. 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 Line Height)

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

auto (Automatically Determined Line Height)

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

exact (Exact Line Height)

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

 

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

 

Referenced By

spacing@lineRule2.3.1.33)

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

<simpleType name="ST_LineSpacingRule">

   <restriction base="xsd:string">

   <enumeration value="auto"/>

   <enumeration value="exact"/>

   <enumeration value="atLeast"/>

   </restriction>

</simpleType>