22.1.2.19 cGpRule

This element specifies the type of gap (horizontal spacing) between columns of a matrix; the default is 0. Horizontal spacing units can be ems or points (stored as twips).

Whether the element is absent or present without the val attribute, the default of the val attribute is 0 (or single spacing gap).

[Example: The following matrix has double spacing (2 ems) between columns:

The XML that represents this property in use is:

<m:mPr>
  <m:cGpRule m:val="2"/>
  <m:mcs>
    <m:mc>
      <m:mcPr>
        <m:count m:val="2"/>
        <m:mcJc m:val="center"/>
      </m:mcPr>
    </m:mc>
  </m:mcs>
</m:mPr>

end example]

Attributes

val (Value)

Specifies the type of spacing between rows and/or columns. Possible values are 0, 1, 2, 3, or 4, whose definitions are contained in the following table:

Value

Column/Row Gap

Example

Single spacing gap (1 em)

1.5 spacing gap (1.5 ems)

2 spacing gap (2 ems)

Exactly (for columns, rely on value of cGp, measured in twips) (for rows, rely on value of rSp, measured in points)

Multiple (for columns, rely on value of cGp, measured in 0.5 em increments) (for rows, rely on value of rSp, measured in lines)

Attributes

[Note: The W3C XML Schema definition of this element’s content model (CT_SpacingRule) is located in A.6.1. end note]

Last updated on