FractionType class
Fraction type. When the object is serialized out as xml, its qualified name is m:type.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Math.FractionType
Namespace: DocumentFormat.OpenXml.Math
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
type (Fraction type)
This element specifies the type of fraction f; the default is 'bar'. Whether the element is absent or present without the val attribute, the default of the val attribute is bar. Fractions types are:
Stacked Fraction:
Skewed Fraction:
Linear Fraction:
Stack Object (No-Bar Fraction):
[Example:
is represented by the following XML:
<m:f>
<m:fPr>
<m:type m:val="skw"/>
</m:fPr>
<m:num>
<m:r>
<m:t>c</m:t>
</m:r>
</m:num>
<m:den>
<m:r>
<m:t>d</m:t>
</m:r>
</m:den>
</m:f>end example]
Parent Elements |
|---|
fPr (§22.1.2.38) |
Attributes | Description |
|---|---|
val (Value) | Specifies the type of fraction. Possible values are bar (Bar Fraction), lin (Linear Fraction), noBar (No-Bar Fraction (Stack)), and skw (Skewed). The possible values for this attribute are defined by the ST_FType simple type (§22.1.3.4). |
[Note: The W3C XML Schema definition of this element’s content model (CT_FType) is located in §A.6.1. end note]
© ISO/IEC29500: 2008.