FractionProperties class
Fraction Properties. When the object is serialized out as xml, its qualified name is m:fPr.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Math.FractionProperties
Namespace: DocumentFormat.OpenXml.Math
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
fPr (Fraction Properties)
This element specifies the properties of the fraction object f. Properties of the Fraction object include the type or style of the fraction. The fraction bar can be horizontal or diagonal, depending on the fraction properties. The fraction object is also used to represent the stack function, which places one element above another, with no fraction bar. [Example: Examples of fractions are:
Bar Fraction:
Skewed Fraction:
Linear Fraction:
No-Bar Fraction (Stack):
The linear fraction is represented by the following XML:
<m:f>
<m:fPr>
<m:type m:val="lin"/>
</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 |
|---|
f (§22.1.2.36) |
Child Elements | Subclause |
|---|---|
ctrlPr (Control Properties) | §22.1.2.23 |
type (Fraction type) | §22.1.2.118 |
[Note: The W3C XML Schema definition of this element’s content model (CT_FPr) is located in §A.6.1. end note]
© ISO/IEC29500: 2008.