Freigeben über


RowSpacingRule-Klasse

Row Spacing Rule.When the object is serialized out as xml, its qualified name is m:rSpRule.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Math.SpacingRuleType
        DocumentFormat.OpenXml.Math.RowSpacingRule

Namespace:  DocumentFormat.OpenXml.Math
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class RowSpacingRule _
    Inherits SpacingRuleType
'Usage
Dim instance As RowSpacingRule
public class RowSpacingRule : SpacingRuleType

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

22.1.2.93 rSpRule (Row Spacing Rule)

This element specifies the type of vertical spacing between columns in a matrix. The following table demonstrates possible values of rSpRule along with their definitions and examples.

Value

Line spacing between rows

Example (non-normative)

0

Single line gap

1

1.5 line gap

2

2 line gap

3

Exactly (rely on value of rGp, measured in points)

4

Multiple (rely on value of rGp, measured in lines)

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

[Example:

is represented by the following XML:

<m:m>
  <m:mPr>
    <m:rSpRule m:val="2"/>
  </m:mPr>
  <m:mr>
    <m:e>
      <m:r>
        <m:t>1</m:t>
      </m:r>
    </m:e>
    <m:e>
      <m:r>
        <m:t>2</m:t>
      </m:r>
    </m:e>
  </m:mr>
  <m:mr>
    <m:e>
      <m:r>
        <m:t>3</m:t>
      </m:r>
    </m:e>
    <m:e>
      <m:r>
        <m:t>4</m:t>
      </m:r>
    </m:e>
  </m:mr>
</m:m>

Because the row spacing rule is set to 2, there is twice as much space between the matrix rows as usual.

end example]

Parent Elements

eqArrPr (§22.1.2.35); mPr (§22.1.2.68)

Attributes

Description

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

0

Single spacing gap (1 em)

1

1.5 spacing gap (1.5 ems)

2

2 spacing gap (2 ems)

3

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

(for rows, rely on value of rSp, measured in points)

4

Multiple

(for columns, rely on value of cGp, measured in 0.5 em increments)

(for rows, rely on value of rSp, measured in lines)

The possible values for this attribute are defined by the ST_SpacingRule simple type (§22.1.3.11).

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

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

RowSpacingRule-Member

DocumentFormat.OpenXml.Math-Namespace